Stats
Analytics overview — metric cards + traffic-by-source bars. Composed block.
block block
Preview
Installation
npx slintcn@latest add statsUsage
import { Stats, StatMetric, TrafficSource } from "slintcn/blocks/stats.slint";
Stats { } // edit the inline metrics + sources after install
Properties
metrics
in
[StatMetric]
Top-row metric cards.
sources
in
[TrafficSource]
Traffic-by-source bars under the metrics.
Dependencies
Installed automatically as transitive dependencies of slintcn add stats.