Stat
Stat.make('Total products', total) .description('In catalog') .color('primary') .url('/demo/products') .chart([12, 9, 11, 8, 10])Methods
| Method | Description |
|---|---|
.description(text) | Subtitle under the value. |
.descriptionIcon(name) | Icon beside description. |
.color(token) | primary / success / warning / danger / info / gray. |
.url(href) | Make the stat clickable. |
.chart([numbers]) | Sparkline data. |