Compact
Compact Metrics
A strip of numbers above a table: icon, value, a colored change, and mini bars. Two per row on phones, one row on wide screens.
src/components/ui/compact-metrics.tsxNo ui-sdk
Store summary
Memuat
Import
tsx
import {
CompactMetrics,
type CompactMetric,
} from "@/components/ui/compact-metrics";Guidelines
goodsets the color, not the sign. Falling costs or errors aregood: true.