Stack

A flexbox stack layout helper.

First
Second
Third

Horizontal

One
Two
Three

Aligned

Project status
Active

API reference

Inputs

PropTypeDefaultDescription
direction"col" | "row"'col'Flex direction: vertical (`col`) or horizontal (`row`).
gapstring'4'Spacing between items, as a Tailwind gap step.
alignstring''Cross-axis alignment (`start`/`center`/`end`/`stretch`/`baseline`).
justifystring''Main-axis distribution (`start`/`center`/`end`/`between`/`around`/`evenly`).
wrapbooleanfalseWhether items wrap onto multiple lines when they overflow.

Every ng-blatui component also accepts a class input to merge extra Tailwind classes onto the host.