Skip to content

Stats card

A few numbers, one leading. The first item is the hero: trend draws a sparkline behind it, and pct a meter.

5 samples, each at every size that draws differently, then in chat, in the light theme, and as a ring where it has a headline.

stats, small size
Small
stats, wide size
Wide
stats, medium size
Medium
stats, large size
Large
stats, in chat
In chat
stats, light theme
Light theme
stats, ring
Ring

Tall draws the same as medium, so it isn't shown. Only the empty space changes.

stats · pie, medium size
Medium
stats · pie, large size
Large
stats · pie, in chat
In chat
stats · pie, light theme
Light theme

Small draws the same as medium. Wide draws the same as medium. Tall draws the same as medium, so they aren't shown. Only the empty space changes.

stats · warning, medium size
Medium
stats · warning, large size
Large
stats · warning, in chat
In chat
stats · warning, light theme
Light theme

Small draws the same as medium. Wide draws the same as medium. Tall draws the same as medium, so they aren't shown. Only the empty space changes.

buttons, medium size
Medium
buttons, tall size
Tall
buttons, large size
Large
buttons, in chat
In chat
buttons, light theme
Light theme

Small draws the same as medium. Wide draws the same as medium, so they aren't shown. Only the empty space changes.

stats · 2001 at, medium size
Medium
stats · 2001 at, large size
Large
stats · 2001 at, in chat
In chat
stats · 2001 at, light theme
Light theme

Small draws the same as medium. Wide draws the same as medium. Tall draws the same as medium, so they aren't shown. Only the empty space changes.

Every card also takes the fields all cards share.

FieldTypeWhat it does
type'stats'
itemsStatItem[]
pie?{ label: string; value: number; tone?: Tone }[]
pieCenter?string

pie: parts of a whole, drawn as a ring instead

FieldTypeWhat it does
labelstring
valuestring | number
unit?string
sub?stringsecondary line, e.g. “of 123 GB”
tone?Tone
pct?number0..1 → a slim meter under the value
trend?number[]recent values → sparkline

AdGuard Home · Local AI · APC UPS · Custom API · Arcane · Argo CD · Atsumeru · Audiobookshelf · Authelia · authentik · autobrr · Azure DevOps · Backrest · Bazarr · BookLore · BookOrbit · BookStack · Caddy · Calibre-Web · changedetection.io · Channels DVR · Checkmk · World clock · Cloudflare Tunnel · CoinMarketCap · CrowdSec · Deluge · DeveLanCacheUI · DiskStation · Dispatcharr · Dockhand · Download Station · Duplicati · Emby · ESPHome · evcc · File Browser · FileFlows · Firefly III · Flood · Forgejo · FreshRSS · Frigate · Ghostfolio · Gitea · GitLab · Glances · Gluetun · Gotify · Grafana · HDHomeRun · Headscale · Healthchecks · Homebox · Homebridge · Jackett · Jellyfin · Jellystat · Kavita · Komga · Komodo · Kopia · Kubernetes · Lidarr · Linkwarden · LubeLogger · Mailcow · Maintainerr · Markets · Mastodon · Mealie · Medusa · MikroTik · Minecraft · Miniflux · MinIO · Moonraker · Mylar3 · MySpeed · n8n · Navidrome · NetAlertX · NetBird · Netdata · Nextcloud · NextDNS · Nginx Proxy Manager · ntfy · NZBGet · OctoPrint · Ombi · Open WebUI · OpenDTU · OpenMediaVault · OpenWrt · OPNsense · Outline · Pangolin · PeaNUT · pfSense · PhotoPrism · Plant-it · Plex · Portainer · Portainer · Prometheus · Prometheus · Prowlarr · Proxmox · Proxmox Backup Server · Pterodactyl · Pulse · pyLoad · qui · Readarr · ruTorrent · SABnzbd · slskd · SparkyFitness · Speedtest Tracker · Spoolman · Sportarr · Stash · Stirling-PDF · Suwayomi · SWAG · Syncthing · Syncthing Relay · Tailscale · Tandoor · Plex (Tautulli) · Tdarr · Technitium DNS · Tracearr · Traefik · Transmission · Trilium · TrueNAS · Tube Archivist · UniFi · UniFi Drive · Unmanic · Unraid · UptimeRobot · Vaultwarden · Vikunja · Wallos · Watchtower · wg-easy · What’s Up Docker · xTeVe · Your Spotify · Zabbix