Loading
Category Usage Bars
Usage by category as a stack of bars on one shared scale: every track is normalised to the same capacity, so the lengths are comparable instead of each being its own hundred percent.
React + Tailwind, shadcn-compatible: press “Copy for AI” and your Cursor or Claude Code agent installs it with the shadcn CLI.
What you can change
- the row set and the values through rows
- the full quota through capacity
- the measurement unit through unit
A link for your AI agent: preview, code and instructions.
Preview

Use it with AI
- 1. Copy the link.
- 2. Write to your agent in your own words and drop the link into the sentence.
- 3. The agent opens the link and installs the component from the registry.
put this on the home page as the hero:
https://vibeui.club/c/progress-005?lang=en&theme=dark
Not sure where to paste it? Step-by-step guide
Show the full instructions
What the link says, spelled out. Use it when your agent cannot open links — paste this text instead.
Loading…
How to use
<Progress005
rows={[
{ label: "Video", value: 148 },
{ label: "Photos", value: 96 },
]}
capacity={512}
unit="GB"
/>A sample call. The agent installs the component itself from the registry via the “Copy for AI” link.
Settings
- Capacity
capacity· default: 512- Unit
unit· default: GB- Background
background· default: theme colour
More in Loading
FAQ
- How do I add Category Usage Bars with Cursor or Claude Code?
- Press “Copy for AI” on this page and paste it into your agent's chat. The instruction contains the shadcn CLI install command, the dependencies and what to keep, so the agent installs this exact component instead of recreating a lookalike.
- What does Category Usage Bars depend on?
- No npm packages beyond React and Tailwind CSS.
- What can I change in Category Usage Bars?
- Adapt: the row set and the values through rows; the full quota through capacity; the measurement unit through unit. Keep as installed: the local --vibeui-progress-005-* palette — do not swap it for your theme tokens; the shared normalisation against capacity: per-row ratios would make the bars incomparable; a separate progressbar role on every track — one shared role hides the breakdown from screen readers.
- Is Category Usage Bars free?
- Yes. The preview is open without an account; with a free account you can copy up to 20 components a month.
For developers
npx shadcn@latest add https://vibeui.club/r/pro/progress-005.jsonThis command needs a signed link: sign in and open “Component source” below — it issues a working link valid for 30 minutes. All install options
Technical notes
The component is self-contained: one file, no dependencies, its own palette in local variables --vibeui-progress-005-*. A server component: no hooks. Each row is a grid of two columns (the name and the number) plus a track across the full width: the numbers line up in a column without table markup. The share is computed against capacity rather than against the sum of the rows, so free space stays visible. The row hue is taken from a hash of its name — a new category gets its own colour by itself and there is no lookup table; the hue is passed to the row through the inline --vibeui-progress-005-hue variable and substituted into oklch. Every track has its own role="progressbar" with a scale in capacity units and an aria-valuetext in words.
Tags
- progress
- storage
- breakdown
- display
Component source
The same file your agent installs. Here in case you would rather copy it by hand.
Loading…