<Stack direction="row" gap="sm" wrap align="center">
<Button>Save</Button>
<Button variant="outline">Preview</Button>
<Button variant="ghost">Cancel</Button>
</Stack>import { Stack, Button } from "@dash/server";Prop | Type | Description |
|---|---|---|
| direction | "row" | "column" | |
| gap | Spacing | (string & {}) | number | Named gaps use client theme tokens; CSS lengths remain an escape hatch. |
| wrap | boolean | |
| fullWidth | boolean | |
| distribution | "equal" | |
| align | "start" | "center" | "end" | "stretch" | |
| justify | "start" | "center" | "end" | "between" | "around" |
Prop | Type | Description |
|---|---|---|
| surface | "background" | "card" | "muted" | Theme surface used behind the content. |
| padding | Spacing | |
| fill | "viewport" | "parent" | Fill the viewport or the height of a sized parent. |
| scroll | "auto" | "hidden" | |
| grow | boolean |