Dashboard Stat Cards
仪表盘指标卡组
The row of metric cards on a dashboard home: today's orders, new users, conversion — each with a delta and a sparkline.
WebDesktopData & WorkContent areaComponent
大白话说明
指标卡组把经营健康度压缩成排得整齐的数字:每张卡一个指标——名称、当前值、与上期对比的涨跌、一条迷你趋势线。涨跌颜色要有语义纪律(成本类指标涨了是坏事就该红)。点卡可下钻到明细。
什么时候用
后台、数据产品、运营看板的首屏第一行——回答「现在怎么样」。
什么时候不用
指标超过 6 个时先砍到关键 4 个,其余进图表区;数字本身需要解释口径的,要给悬停说明。
细节与变体
- 涨跌箭头方向与颜色分开编码:箭头说方向,颜色说好坏,两者别打架
- 数字滚动动画只用在首次加载,别每次刷新都表演一遍
- 卡与卡之间口径周期必须一致(都是今日或都是本月)
配套效果见下方「可用效果」。
Matching prompt (fill in & copy)
Effects you can apply
Reference implementations (open source)
- Carbon Design System ↗ Apache-2.0 · 免费(Apache-2.0)
IBM's design system — a benchmark for token systems and data-dense interfaces.
- Tabler ↗ MIT · 免费(MIT)
A long-running free admin template with many polished pages.
- shadcn-admin ↗ MIT · 免费(MIT)
A complete admin dashboard built with shadcn/ui — dashboard, settings, chat pages included.