sigilUI

Diamond

Render a diamond shape using the active design tokens.

@sigil-ui/componentsReact

Preview

Live preview Interactive

Import

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

Usage

<Diamond size="xl" />

Props

PropTypeDefaultDescription
size"sm" | "md" | "lg" | "xl"mdDiamond size.

Token integration

CSS VariablePurpose
--s-surfaceSurface
--s-borderBorder