Component docs
Loading
import { SimpleGrid } from "@pixxl-tools/components";
// In Server Components:
import { SimpleGrid } from "@pixxl-tools/components/server";| Prop | Type | Default | Description |
|---|---|---|---|
gap | PixxlGap | — | Space between children (none, xs, sm, md, lg: 0, 4, 8, 16, 20 px). |
minItemWidth | string | — | — |
gapPixxlGap
Space between children (none, xs, sm, md, lg: 0, 4, 8, 16, 20 px).
minItemWidthstring
Other props are passed to the root element (HTMLAttributes<HTMLDivElement>), including className, style, id and aria-* attributes.
<SimpleGrid>...</SimpleGrid>