Seven vertical bars for a rolling week with muted fills for past days and a tone-saturated bar for today's total.
Requires shadcn/ui initialized. Run npx shadcn@latest init if you haven't.
import { Dashboard8 } from "@/components/beste/piece/dashboard8";
<Dashboard8
title="Events this week"
total="2,840"
days={[
{
"label": "Mon",
"value": 280
},
{
"label": "Tue",
"value": 410
},
{
"label": "Wed",
"value": 520
},
{
"label": "Thu",
"value": 340
},
{
"label": "Fri",
"value": 680
},
{
"label": "Sat",
"value": 480
},
{
"label": "Sun",
"value": 130,
"today": true
}
]}
tone="violet"
/>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.
Revenue split card with an SVG donut on the left showing weighted slices and a percentage legend on the right.
Side-by-side compare card with previous and current values separated by an arrow, and a semantic delta pill in the header.
Top-three ranking card with gold, silver, and bronze medal circles next to names and monospaced scores.