Toggle
A Toggle component from the Sigil design system.
Import
import { Toggle } from "@sigil-ui/components";Preview
Usage
<Toggle>Toggle content</Toggle>Props
| Prop | Type | Default | Description |
|---|---|---|---|
variant | `"default" | "outline"` | default |
size | `"sm" | "md" | "lg"` |
Token integration
| CSS Variable | Purpose |
|---|---|
--s-surface-elevated | Surface elevated |
--s-surface | Surface |
--s-border-strong | Border strong |
--s-border-style | Border style |
--s-border | Border |
--s-radius-md | Radius md |
--s-text-secondary | Text secondary |
--s-duration-fast | Duration fast |
--s-primary | Primary |
--s-text | Text |