Stacked Bar

Single horizontal bar divided into tinted segments by percentage, with a legend row below.

Storage breakdown
  • Media53%
  • Docs23%
  • Cache15%
  • Other10%

Requires shadcn/ui initialized. Run npx shadcn@latest init if you haven't.

Import & use
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"
    }
  ]}
/>

More Progress pieces

View all Progress
5
68%
4
22%
3
6%
2
3%
1
1%

Five stacked rows mapping 5–1 stars to amber fill bars and the percentage for each tier.

Deployment68%

Labelled progress bar with a percent readout above and a tonal fill.

Level 121840 / 2500 XP

XP Level Bar

progress14

Trophy tile beside a level badge and an XP fraction over a sunset gradient fill bar.

Onboarding4 / 6

Row of N equal chunks with the first K filled in the chosen tone. Trailing fraction count.

72%

Progress Ring

progress2

Circular SVG ring with a centered percentage. Tone sets the stroke color.

Account
Plan
3
Payment
4
Done

Numbered step dots connected by a line. Completed steps fill emerald with a check.