crucıble

Ingot Stats

A stats band stamped like a steel plate: four big tabular numerals counting up via Tally digit drums on scroll into view, hairline amber dividers between stats, quiet labels beneath, and subtle top/bottom plate borders. Responsive 2-up to 4-up row.

csspro

Installation

CLI

npx shadcn@latest add @crucible/ingot-stats

Props

PropTypeDefaultDescription
headingstringOptional heading rendered as an h2 above the band. Omitted by default.
statsIngotStat[]the four Forgewright statsStatistics rendered across the band.
animatebooleantrueAnimate numerals with a Tally count-up when they enter the viewport. Set false to render the final values statically. (Under reduced motion Tally shows final values immediately on its own.)
Also accepts all props of React.ComponentPropsWithoutRef<"section">they pass through to the underlying element.

Honors prefers-reduced-motion with a designed static fallback, and passes className through.