Component docs
Loading
import { Group } from "@pixxl-tools/components";
// In Server Components:
import { Group } from "@pixxl-tools/components/server";| Prop | Type | Default | Description |
|---|---|---|---|
align | "start" | "center" | "end" | "stretch" | — | Cross-axis alignment of the children. |
attached | boolean | — | — |
gap | PixxlGap | — | Space between children (none, xs, sm, md, lg: 0, 4, 8, 16, 20 px). |
justify | "start" | "center" | "end" | "between" | — | Main-axis distribution of the children. |
wrap | boolean | — | Let children wrap onto more lines. |
align"start" | "center" | "end" | "stretch"
Cross-axis alignment of the children.
attachedboolean
gapPixxlGap
Space between children (none, xs, sm, md, lg: 0, 4, 8, 16, 20 px).
justify"start" | "center" | "end" | "between"
Main-axis distribution of the children.
wrapboolean
Let children wrap onto more lines.
<Group attached><Button />...</Group>