<st-stats>
JSON type: Stats
Responsive grid of headline numbers with a label and optional description. Port of React Stats.
inverted puts it on the dark band (--st-cms-band-dark-bg), which stays dark in the dark theme.
Usage
import '@sankhyatronics/sankhya-cms/stats'; // registers <st-stats>
Properties
| Property | Attribute | Type | Default | Description |
|---|---|---|---|---|
items | — | StatItem[] | [] | |
inverted | inverted | boolean | false |
See the live examples in Storybook.