Stack is a simple flexbox component that allows you to stack items vertically or horizontally with a provided gap.
Example
metric-card.tsx
Props
The space between children. See spacing tokens.Defaults to
"none".How children are aligned on the cross axis.Defaults to
"stretch".How children are distributed along the main axis.Defaults to
"start".Spacing tokens
Stack and Grid take their gap from the same Spacing type. There are no arbitrary values.