Marker

Primitive

Stack

Lays its children out in a column or a row with a gap from the spacing scale. Direction, gap and alignment can change per breakpoint.

When to use

Use it for any one-dimensional layout. A plain div with token classes covers padding, and two-dimensional layout waits for Grid.

States

Column
Opening balance
Capital calls
Closing balance
RowChildren centre on the line by default.
Reconciled31 March 2026
Row, align baselineText of different sizes lines up on one baseline.
$4,218,330.00as of 31 March 2026
Row, justify between
Journal entries42 entries
Wrapping row
Fund I
Fund II
Fund III
Co-invest A
Feeder (Cayman)
SPV 2024-07
Column below md, row from mdBreakpoints are the viewport's, not the container's.
Period: Q1 2026
Entity: Fund II LP
Currency: USD
Nested groupsgap 2 inside each group, gap 8 between them.
Assets
Cash and equivalents
Investments at fair value
Liabilities
Management fees payable
List
  1. Reconcile cash
  2. Accrue management fees
  3. Lock the period
SeparatorsStack draws no lines. A separator is a child, and the gap centres it: group with space first.
Fund I

Fund II

Props

PropTypeDefaultDescription
directionResponsive<"column" | "row">Default "column"Column stacks top to bottom, row lines children up along the line. Pass { base, sm, md, lg, xl, "2xl" } to switch at a breakpoint.
gapResponsive<0 | 1 | 2 | 3 | 4 | 5 | 6 | 8 | 10 | 12 | 16>Default 4Space between children in steps of the 4px scale, as in gap-4. Leave at least twice the gap between groups as inside one.
alignResponsive<"start" | "center" | "end" | "baseline" | "stretch">Default by directionCross-axis alignment. By default stretch in a column and center in a row, which suits an icon beside text and a row of controls. baseline lines up text of different sizes.
justify"start" | "center" | "end" | "between"Default –Main-axis distribution. between pushes the first and last children to the edges.
wrapbooleanDefault falseLets a row wrap onto more lines. Turn it on for a row of a variable number of items, or the row overflows a narrow screen.
renderReactElementDefault –The element to render instead of a div. Pass <ul /> or <ol /> for a list and write the li children yourself; the list role is kept.
classNamestringDefault –Places the stack: margin, size, position. Never colour, type, border or padding.