Triangle
Render a triangular shape using the active design tokens.
Preview
Import
import { Triangle } from "@sigil-ui/components";Usage
<Triangle size="xl" />Props
| Prop | Type | Default | Description |
|---|---|---|---|
direction | "up" | "down" | "left" | "right" | up | Direction the triangle points. |
size | "sm" | "md" | "lg" | "xl" | md | Triangle size. |
Token integration
| CSS Variable | Purpose |
|---|---|
--s-surface | Surface |