Primitive

Stack

Vertical rhythm primitive for dense groups, forms, traces, and editorial blocks.

Use Stack before inventing component-local vertical spacing. Density chooses the rhythm; divided adds low-noise separation.
layout
StackDefault

Playground

Controls update query params directly, so every primitive state can be linked, rendered, and screenshotted deterministically.

Loading playground

Rendered matrix

Every state maps to the same primitive render route through the state query param.

Default

Comfortable vertical rhythm for repeated content.

Divided

Dense separated rows without a new surface.
ReadyGeneratedBlocked

Editorial

Looser rhythm for reading and explanation.
Context

Public contract

The public prop table is generated from item metadata and schema-backed controls.
NameTypeDefaultDescription
density'compact' | 'comfortable' | 'editorial'-Vertical rhythm density.
align'start' | 'center' | 'end' | 'stretch'-Cross-axis alignment.
dividedbooleanfalseAdds separators between direct children.
childrenReactNode-Stacked content.