Usage
MetricCard is a closed preset on CardHeader and CardContent, not a Card variant. It accepts no children. The value stays base-colored. Tone, when present, colors only the delta label and arrow fill. @prepared911/ui keeps that split: a performance threshold colors the delta (intent, glyph, and trend label), not the value.
trailing when there is no delta.Card.href branch.CardFooter on ordinary Card.TextType.NumericDisplay at 2.4rem. Tabular figures keep percentages, counts, durations, and animated values visually consistent.delta is a discriminated model. Direction picks the arrow; tone picks the color. They stay orthogonal so a decrease can be success.Foreground.Base under every tone, selected, and loading state.introduced and unavailable render a localized label with no arrow, tone, or magnitude.delta and trailing are mutually exclusive. Trailing stays decorative and aria-hidden. The 2.8rem trailing box mounts only when trailing is a renderable node, not false from condition && visual.controls forwards to CardHeader.controls. It is unrepresentable on a clickable MetricCard.label, subtitle, loadingLabel, delta status labels, and action aria-label with useTranslation().trailing decorative. Named charts belong in ordinary Card with a visible summary.from only when loading-to-ready should roll; omission snaps.announcement. The delta odometer is visual-only.delta with trailing, or controls with onClick.