Diagonal
Draw diagonal line patterns within a surface.
Preview
Import
import { Diagonal } from "@sigil-ui/components";Usage
<Diagonal />Props
| Prop | Type | Default | Description |
|---|---|---|---|
direction | "left" | "right" | right | Diagonal cut direction. |
height | number | 80 | Height of the diagonal section. |
fill | string | — | Fill color (CSS value). Defaults to the surface token. |
Token integration
| CSS Variable | Purpose |
|---|---|
--s-surface | Surface |