Single horizontal bar divided into tinted segments by percentage, with a legend row below.
Requires shadcn/ui initialized. Run npx shadcn@latest init if you haven't.
import { Progress6 } from "@/components/beste/piece/progress6";
<Progress6
title="Storage breakdown"
segments={[
{
"label": "Media",
"value": 42,
"tone": "emerald"
},
{
"label": "Docs",
"value": 18,
"tone": "sky"
},
{
"label": "Cache",
"value": 12,
"tone": "amber"
},
{
"label": "Other",
"value": 8,
"tone": "muted"
}
]}
/>Five stacked rows mapping 5–1 stars to amber fill bars and the percentage for each tier.
Labelled progress bar with a percent readout above and a tonal fill.
Trophy tile beside a level badge and an XP fraction over a sunset gradient fill bar.
Row of N equal chunks with the first K filled in the chosen tone. Trailing fraction count.
Circular SVG ring with a centered percentage. Tone sets the stroke color.
Numbered step dots connected by a line. Completed steps fill emerald with a check.