DiagramNode
A DiagramNode component from the Sigil design system.
import { DiagramNode } from "@sigil-ui/components";
<DiagramNode>...</DiagramNode>
| Prop | Type | Default | Description |
|---|
icon | ReactNode | — | — |
label | string | — | — |
sublabel | string | — | — |
variant | DiagramNodeVariant | — | — |
size | DiagramNodeSize | — | — |
mono | boolean | — | — |
badge | ReactNode | — | — |
| CSS Variable | Purpose |
|---|
--s-border | Border |
--s-surface | Surface |
--s-text | Text |
--s-primary | Primary |
--s-primary-muted | Primary muted |
--s-border-muted | Border muted |
--s-text-muted | Text muted |
--s-primary-contrast | Primary contrast |
--s-radius-md | Radius md |
--s-duration-fast | Duration fast |
--s-font-mono | Font mono |
--s-radius-full | Radius full |