Diamond
Render a diamond shape using the active design tokens.
Preview
Import
import { Diamond } from "@sigil-ui/components";Usage
<Diamond size="xl" />Props
| Prop | Type | Default | Description |
|---|---|---|---|
size | "sm" | "md" | "lg" | "xl" | md | Diamond size. |
Token integration
| CSS Variable | Purpose |
|---|---|
--s-surface | Surface |
--s-border | Border |