Usage meter
The meter shows how much of the month's API calls are used.
Not quite it? Ask for a variation
Install
Writes one React component into components/illos. Nothing else to install.
npx shadcn@latest add https://illos.dev/r/flat/usage-meter.jsonOr hand it to your agent
Claude Code, Cursor, Codex and any other coding agent can add it from the prompt.
How it moves
- a new month starts the meter for API calls at 12%.
- a click on Import data brings in the month's calls.
- the bar fills in steps to 84% of the allowance.
Where it fits
For usage-based pricing and API products: a pricing page that explains monthly limits, a features card on usage tracking, or the billing section of your docs. The bar filling toward the allowance, with the figure and the percentage counting along, tells customers where they stand before a bill surprises them. As a spot it fits a feature card or a short note beside your plans. It is free to copy and pairs with Plan upgrade, Requests chart and Usage limit.
Pairs well with Plan upgrade, Requests chart, Usage limit and Cost meter.
On your site
Read where product illustrations go, how to place an animated SVG and how to keep animations fast.
For developers
- File size
- 9.4 KB gzipped
- Motion
- Plays once, 3.8 s, then holds
- Reduced motion
- Shows a still
- File
- usage-meter.svg

