Components
Stack
Props

StackProps

Hierarchy

  • ComponentPropsWithoutRef<"div">

    StackProps

Properties

align

Optional align: "end" | "start"

items alignment

Default

start;

Defined in

packages/components/src/stack/stack.tsx:58 (opens in a new tab)


direction

Optional direction: "row" | "column"

direction of items

Default

column;

Defined in

packages/components/src/stack/stack.tsx:43 (opens in a new tab)


fluid

Optional fluid: boolean

if the items should grow in width to match the container

Default

false;

Defined in

packages/components/src/stack/stack.tsx:48 (opens in a new tab)


space

Optional space: string

space between items

Default

0;

Defined in

packages/components/src/stack/stack.tsx:53 (opens in a new tab)