Two-by-two KPI grid where each cell carries a tone-tinted icon tile, label, and monospaced value.
Requires shadcn/ui initialized. Run npx shadcn@latest init if you haven't.
import { Dashboard3 } from "@/components/beste/piece/dashboard3";
<Dashboard3
widgets={[
{
"label": "Revenue",
"value": "$48.2K",
"icon": "revenue"
},
{
"label": "Orders",
"value": "1,284",
"icon": "orders"
},
{
"label": "Users",
"value": "9.4K",
"icon": "users"
},
{
"label": "Events",
"value": "62.1K",
"icon": "signals"
}
]}
tone="violet"
/>Single-metric card with a large value, semantic delta pill that flips emerald for gains and rose for losses, and a comparison period.
Compact metric card with a large value, delta percentage, and an SVG sparkline with a tone-colored stroke and faint area fill.
Recent-events list with semantic action icons (create, update, delete, signup) and a relative timestamp on the right.
Ranked list where each row's background bar fills proportionally to its value, with index and count on either end.
Conversion funnel stages where each row's bar narrows against the top stage and a rose drop-off percentage marks churn.
Dashboard filter bar with a primary date-range button, a comparison-period dropdown, and a segment filter toggle.