Stack
stableArranges children in a row or column with consistent spacing.
Basic usage
OneTwo
Examples
Direction and spacing
Use column stacks for form groups and row stacks for action clusters.
DraftReviewReady
Owner
Design systems team
Action rows
Stack keeps repeated action rows predictable without introducing another layout component.
Alignment and dividers
Stack supports row/column directions, numeric spacing, wrapping and inserted dividers.
OneTwo
Features
- Row or column direction.
- Tokenized spacing.
Installation
bash
pnpm dlx structyl add stackAPI Reference
Stack API reference
Full props, types, defaults.