Ranked list where each row's background bar fills proportionally to its value, with index and count on either end.
Requires shadcn/ui initialized. Run npx shadcn@latest init if you haven't.
import { Dashboard5 } from "@/components/beste/piece/dashboard5";
<Dashboard5
title="Top sources"
items={[
{
"label": "Direct",
"value": 4820
},
{
"label": "Google",
"value": 3610
},
{
"label": "Twitter",
"value": 1890
},
{
"label": "Referral",
"value": 980
}
]}
tone="violet"
/>