Skip to main content
Stack items vertically, in a column. Combine with hstack to build a grid of items.

Usage

Signature

Parameters

Sequence[object]
required
A list of items.
Optional[Literal['start', 'end', 'center', 'stretch']]
default:"None"
Align items horizontally: start, end, center, or stretch.
Literal['start', 'center', 'end', 'space-between', 'space-around']
default:"'start'"
Justify items vertically: start, center, end, space-between, or space-around.
float
default:"0.5"
Gap between items as a float in rem. 1rem is 16px by default.
Optional[Literal['equal'] | Sequence[float]]
default:"None"
"equal" to give items equal height; or a list of relative heights with same length as items, e.g., [1, 2] means the second item is twice as tall as the first; or None for a sensible default.

Returns

An Html object.