Alert
Quota Banner
A plan-limit bar with a number instead of a scare: the fill is computed from two figures and the colour switches itself once less than a tenth is left.
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 figures through used and limit, the unit through unit
- the plan name through planLabel
- the button caption through actionLabel
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/banner-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
<Banner005
used={9200}
limit={10000}
unit="requests"
actionLabel="Upgrade plan"
/>A sample call. The agent installs the component itself from the registry via the “Copy for AI” link.
Settings
- Used
used· default: 9200- Limit
limit· default: 10000- Tone
tone· default: theme colour- Background
background· default: theme colour
More in Alert
FAQ
- How do I add Quota Banner 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 Quota Banner depend on?
- No npm packages beyond React and Tailwind CSS.
- What can I change in Quota Banner?
- Adapt: the figures through used and limit, the unit through unit; the plan name through planLabel; the button caption through actionLabel. Keep as installed: the local --vibeui-banner-005-* palette — do not swap it for your theme tokens; the figures next to the bar: "almost out" without numbers cannot support a decision; switching the tone by ratio rather than writing a rule set per state.
- Is Quota Banner 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/banner-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 the local --vibeui-banner-005-* variables. Server-side: the ratio is computed from used and limit, put into --vibeui-banner-005-ratio, and the bar width is derived by calc. The state (calm, tight, over) is declared through the data-state attribute and overrides a single tone — there are no separate rule sets per state. The bar is marked up as role="progressbar" with aria-valuenow. The layout is computed from the component's own width through the @container rule on the inner shell.
Tags
- banner
- quota
- plan
- upgrade
Component source
The same file your agent installs. Here in case you would rather copy it by hand.
Loading…