Stacked Bar

Storage breakdown
  • Media53%
  • Docs23%
  • Cache15%
  • Other10%
About this piece

Stacked Bar

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

Usage

The import and the props worth knowing about, in one place.

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%

Rating Distribution

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

Deployment68%

Linear Progress

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

Level 121840 / 2500 XP

XP Level Bar

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

Onboarding4 / 6

Segmented Progress

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

72%

Progress Ring

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

Syncing library0%

Segment Loader

A row of pill segments fills left to right beside a live percentage, flashes a check at one hundred, holds for a beat, and starts over.