Three-tile alert overview with semantic icons and counts for critical, warning, and info severities.
Requires shadcn/ui initialized. Run npx shadcn@latest init if you haven't.
import { Dashboard20 } from "@/components/beste/piece/dashboard20";
<Dashboard20
counts={{
"critical": 2,
"warning": 6,
"info": 14
}}
criticalLabel="Critical"
warningLabel="Warning"
infoLabel="Info"
/>Real-time counter with a pinging status dot in the tone color, a large monospace value, and a per-second rate.
Dual-line sparkline overlaying the current period in tone and the previous period as a faint dashed baseline with a legend.
Average rating with a star, total review count, and five rows showing per-star counts with an amber proportional bar.
Radial progress gauge with a tone-colored arc, the percentage centered, and a caption line beside it.
Actual-vs-target bar with a tone-colored actual fill on a muted track and a thin foreground tick marking the target.
Horizontal 100 percent stacked bar splitting a total into colored segments with a wrapping legend of labels and percentages.