
Kiri Dome Task Lamp
Spun aluminum dome lamp with a weighted travertine plinth and stepless 2700K touch dimmer.
Titled content sections with description and body slots for settings pages.
Invite and manage your team.
1234567891011121314151617import { Section, sectionAnnotated } from "#components/ui/ui-sdk/section.tsx";
export function Example() { return ( // composition per part via render; for the two-column annotated layout // compose the exported styles: // <Section.Root style={sectionAnnotated.root}> + // <Section.Header style={sectionAnnotated.header}> <Section.Root> <Section.Header> <Section.Title>Members</Section.Title> <Section.Description>Invite and manage your team.</Section.Description> </Section.Header> <Section.Body>…</Section.Body> </Section.Root> );}1npx stylexblocks add section123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293import * as stylex from "@stylexjs/stylex";import { createSlotRecipeContext } from "#lib/ui-sdk/create-slot-recipe-context.tsx";import { defineSlotRecipe } from "#lib/recipe-props.ts";import { fontSizes } from '@stylexblocks/ui/tokens/font-sizes.stylex.ts'import { fontWeights } from '@stylexblocks/ui/tokens/font-weights.stylex.ts'import { semanticColors } from '@stylexblocks/ui/semantic-tokens/colors.stylex.ts'import { spacing } from '@stylexblocks/ui/tokens/spacing.stylex.ts'
const sectionRoot = stylex.create({ base: { display: 'flex', flexDirection: 'column', },})
const sectionRootVariants = stylex.create({ annotated: { marginTop: spacing._4, },})
const sectionHeader = stylex.create({ base: { flexShrink: 0, marginBottom: spacing._4, },})
const sectionHeaderVariants = stylex.create({ annotated: {},})
const sectionTitle = stylex.create({ base: { fontWeight: fontWeights.medium, lineHeight: '110%', letterSpacing: '-1%', marginBottom: spacing._1, },})
const sectionDescription = stylex.create({ base: { color: semanticColors.fgMuted, fontSize: fontSizes.md, },})
const sectionBody = stylex.create({ base: { flex: 1, minWidth: 0, },})
export type SectionVariant = keyof typeof sectionRootVariants
// defineSlotRecipe validates the shape at compile time. The generated// `annotated` maps have no plain counterpart to default to, so the section// exposes no variant axis; the annotated layout styles are exported below.const sectionSlotRecipe = defineSlotRecipe({ slots: { root: { styles: sectionRoot }, header: { styles: sectionHeader }, title: { styles: sectionTitle }, description: { styles: sectionDescription }, body: { styles: sectionBody }, }, defaultVariants: {},});
/** * Section — recipe and component colocated in one file; each part composes * via `render`. For the two-column annotated layout, compose the exported * styles: `<Section.Root style={sectionAnnotated.root}>` + * `<Section.Header style={sectionAnnotated.header}>`. */const { withProvider, withContext } = createSlotRecipeContext(sectionSlotRecipe);
export const sectionAnnotated = { root: sectionRootVariants.annotated, header: sectionHeaderVariants.annotated,};
export const Section = { Root: withProvider("section", "root", "SectionRoot"), Header: withContext("header", "header", "SectionHeader"), Title: withContext("h2", "title", "SectionTitle"), Description: withContext("p", "description", "SectionDescription"), Body: withContext("div", "body", "SectionBody"),};
Installable blocks built with Section — real use cases, delivered as source you own.
Centered marketing hero pairing an eyebrow badge, balanced display headline, supporting copy, dual call-to-action buttons, and a wide 16:9 architectural showcase frame.
Centered editorial gallery pairing category filter tabs, a responsive 3:2 architectural photography grid, and a keyboard-navigable lightbox dialog with camera metadata.
Interactive course overview page featuring breadcrumb navigation, tabbed Syllabus, Outcomes, Instructor, and Reviews views, a checkable 4-module curriculum accordion synced to live progress bars, and a sticky enrollment rail with a photographic course cover, self-paced vs. cohort planning, and toast feedback.
Developer documentation hub featuring a searchable hero banner, CLI starter panel, quick-start cards, filterable categorized guide tracks with schematic previews, interactive article preview dialog with copyable code blocks, and live status and changelog links.
Centered marketing hero pairing an eyebrow badge, balanced display headline, editorial copy, dual call-to-action buttons, and a responsive three-column 4:5 architectural and ceramics gallery.
Asymmetric mixed-aspect bento gallery pairing panoramic wide plates, tall portrait specimens, and square studies with a segmented discipline filter and keyboard-navigable lightbox dialog.
Editorial storefront product gallery pairing a two-column collection header, segmented category filter, live bag counter with toast feedback, selectable finish swatches, edition badges, and a responsive 1:1 studio product grid.
Editorial architectural monograph pairing a sticky left-hand project narrative, metadata list, metrics, and actions beside a vertical scrolling plate stack with a keyboard-navigable lightbox dialog.