Stat Band
A band of three or four large numbers that count up when it scrolls into view, with accent bars, drawing dividers and a note that opens on hover.
pixikit.com/docs/blocks/proof/stat-band
Customize
Layout
Align
Accent
Count on view
Props
7| Name | Type | Default | Description |
|---|---|---|---|
heading | string | "" | The heading above the band. Leave empty for none. |
stats | StatBandItem[] | DEFAULT_STATS | The stats, three or four read best. |
layout | "row" | "grid" | "row" | `row` puts the stats in one row with thin dividers; `grid` shows them as cards, two per row. |
align | "left" | "center" | "center" | Aligns each stat and the heading. |
accent | boolean | true | Shows a short bar above each number that grows as the number counts. |
countOnView | boolean | true | Counts each number up from 0 the first time the band scrolls into view. |
className | string | None |