Components / Stack
📚

Stack

Flexible layout stacking.

Layout

Variants

Item 1
Item 2

Vertical

Props:

direction="column"
Item 1
Item 2

Horizontal

Props:

direction="row"

Props / API

Prop Type Default Description
direction string column Stack direction: row, column
gap string md Gap size: sm, md, lg

Usage

<Stack direction="column" gap="md">Items</Stack>