Progress
Threshold Alert Bar
A bar with the threshold drawn on the track itself: below it the bar stays calm, above it the fill changes colour, gains hatching and drops a warning into a role="status" region.
What you can change
- the current usage through value and the limit line through threshold
- the top of the scale through limit
- the heading through label
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.ru/c/progress-006?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…
For developers
The install command lives in the “Component source” block below — a signed link that stays valid for 24 hours.
Technical notes
The component is self-contained: one file, no dependencies, its own palette in local variables --vibeui-progress-006-*. A server component: no hooks, and the exceeded state is derived by comparing value and threshold. The threshold notch is an absolute element inside the track positioned by left from a variable, so it stands exactly where the plan ends rather than in a caption beside it. The overflow is marked with the data-over attribute on the root: it switches the fill colour, the repeating-linear-gradient hatching and the display of the warning block. The hatching is needed because "it turned red" does not read without colour. The warning is declared role="status" and hidden with the hidden attribute rather than removed from the markup: a live region has to exist before text appears in it.
Tags
- progress
- threshold
- quota
- display
Component source
The same file your agent installs. Here in case you would rather copy it by hand.
Loading…