Data
Stat Card
One headline number with its change and an optional trend line you can read point by point.
src/components/ui/stat-card.tsxNo ui-sdk
Four metrics
Proyek aktif
12
Naik2dari bulan lalu
Jam tercatat
384
Naik8,4%dari minggu lalu
Tagihan terbit
Rp248,6 jt
Turun3,1%dari bulan lalu
Waktu respons
1,8 jam
Turun22%lebih cepat
Import
tsx
import { StatCard } from "@/components/ui/stat-card";Guidelines
- The change is green when it is good news. Set
positivewhen down is good, such as response time. - Give it
trendLabelsso the trend can be read point by point.