Playground GitHub npm

Stats

Analytics overview — metric cards + traffic-by-source bars. Composed block.

block block

Preview

Installation

npx slintcn@latest add stats

Usage

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

cardlabelbadgeprogress

Installed automatically as transitive dependencies of slintcn add stats.