Layout primitives
Every spacing decision lives here. Components never carry outer margin. Each primitive below shows its key props as labeled rows.
Resizable
Draggable split panels — drag the handle to resize, keyboard-operable via arrow keys. Wraps react-resizable-panels with DS tokens.
Main content
Preview
Console
Stack
Vertical flex column with token-driven gap. Every gap step plus align options.
HStack
Horizontal flex row. Default alignment is center. Every justify + align option, plus wrap.
VStack
Explicit vertical stack — identical to Stack. Gap and align rows.
Cluster
Wrapping inline row for tag lists and chip clusters. Gap and justify options.
Grid
CSS grid with responsive column support. Fixed columns, responsive columns, and gap.
Container
Max-width wrapper with responsive padding. Every size step.
Section
Semantic section with vertical rhythm and optional surface. Padding + background rows.
paddingY sm
paddingY md
paddingY lg
default surface
subtle surface
inverse surface
Spacer
Flex filler or fixed-size inert spacer. As a flex filler and at fixed sizes.
Center
Centers children on one or both axes.
Split
Two-column responsive layout that collapses below a breakpoint. Every left-width ratio.
Divider
Separator used between layout regions. All tones, a label, and vertical orientation.
Left
Right