Layout Controls
Expose controls for adjusting a layout demonstration.
Preview
Import
import { LayoutControls } from "@sigil-ui/components";Usage
<LayoutControls className="!grid-cols-1" />Props
| Prop | Type | Default | Description |
|---|---|---|---|
onPatch | (category: string, key: string, value: string) => void | — | On Patch configuration. |
values | { navbarHeight?: string; pageMargin?: string; gutter?: string; sectionGap?: string; bentoGap?: string; bentoRadius?: string; contentMax?: string; gridColumns?: string; } | — | Values configuration. |
className | string | — | Additional classes merged with the component styles. |
Token integration
| CSS Variable | Purpose |
|---|---|
--s-font-mono | Font mono |
--s-text-muted | Text muted |
--s-primary | Primary |
--s-text-secondary | Text secondary |