DiagramLabel
A DiagramLabel component from the Sigil design system.
Import
import { DiagramLabel } from "@sigil-ui/components";Usage
<DiagramLabel>...</DiagramLabel>Props
| Prop | Type | Default | Description |
|---|---|---|---|
text | string | — | — |
variant | `"default" | "accent" | "warn"` |
showDot | boolean | — | — |
showLine | boolean | — | — |
lineLength | number | — | — |
position | `"top" | "bottom" | "left" |
Token integration
| CSS Variable | Purpose |
|---|---|
--s-text-muted | Text muted |
--s-primary | Primary |
--s-error | Error |
--s-radius-full | Radius full |
--s-font-mono | Font mono |