Stack
A tiny flex helper that keeps spacing consistent with the design system — no magic numbers, just named gaps.
import { Stack } from "marclayui";Direction & gap
onetwothree
row item onerow item two
Justify
startend
| Prop | Type | Default | Description |
|---|---|---|---|
direction | "row" | "column" | "column" | Flex direction. |
gap | "none" | "xs" | "sm" | "md" | "lg" | "xl" | "md" | Named spacing scale (6→44px). |
align / justify | "start" | "center" | "end" | … | — | Flex alignment helpers. |
wrap | boolean | false | Allow items to wrap. |