SigilGrid
Grid with visible cross marks at cell intersections. Uses a pseudo-element background to render the sigil pattern.
Import
import { SigilGrid, SigilGridCell } from "@sigil-ui/components";Preview
Usage
<SigilGrid>...</SigilGrid>SigilGrid is for local component grids and decorative cell layouts. It is not
the page shell. For full pages, use:
<SigilPage rhythm="locked" chrome="rails">
<SigilSection space="normal">...</SigilSection>
</SigilPage>Use SigilGrid inside sections when you need a compact grid with visible cell
intersections.
Sub-components
This component includes the following parts:
<SigilGridCell>
Props
| Prop | Type | Default | Description |
|---|---|---|---|
columns | `2 | 3 | 4 |
gap | `string | number` | — |
Token integration
| CSS Variable | Purpose |
|---|---|
--s-grid-cell | Grid cell |
--s-border | Border |
--s-grid-cell-radius | Grid cell radius |
--s-radius-sm | Radius sm |
--s-duration-normal | Duration normal |
--s-surface-elevated | Surface elevated |