Skip to main content

<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​

PropertyAttributeTypeDefaultDescription
items—StatItem[][]
invertedinvertedbooleanfalse

See the live examples in Storybook.