sigilUI

Triangle

Render a triangular shape using the active design tokens.

@sigil-ui/componentsReact

Preview

Live preview Interactive

Import

import { Triangle } from "@sigil-ui/components";

Usage

<Triangle size="xl" />

Props

PropTypeDefaultDescription
direction"up" | "down" | "left" | "right"upDirection the triangle points.
size"sm" | "md" | "lg" | "xl"mdTriangle size.

Token integration

CSS VariablePurpose
--s-surfaceSurface