sigilUI

KPI

Display a key metric with a label and change indicator.

@sigil-ui/componentsReact

Preview

Live preview Interactive

Import

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

Usage

<KPI label="Revenue" value="$12,340" />

Props

PropTypeDefaultDescription
labelstring—Metric label.
valuestring | number—Current value.
changestring—Change amount (e.g. "+12.5%").
trend"up" | "down" | "neutral"neutralTrend direction.

Token integration

CSS VariablePurpose
--s-successSuccess
--s-errorError
--s-text-mutedText muted
--s-border-styleBorder style
--s-borderBorder
--s-radius-cardRadius card
--s-surfaceSurface
--s-shadow-smShadow sm
--s-textText