Usage billing
Usage stacks up in the meter, and at the end of the month it prints the invoice.
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/line-iso/billing.jsonOr hand it to your agent
Claude Code, Cursor, Codex and any other coding agent can add it from the prompt.
How it moves
- usage tokens drop into the meter.
- they stack up through the month.
- at the month end the meter prints the invoice.
Where it fits
For SaaS and API products that charge by use: a pricing page section on usage-based plans, a docs page on metering, or a billing settings empty state. Usage dropping into the meter, stacking up through the month and printing the invoice at the end explains pay-as-you-go pricing in one loop. As a spot it fits a pricing card, a feature card or the side of a short paragraph. It is free to copy, and Cost meter or Payments flow can sit beside it on a pricing or billing page.
Pairs well with Cost meter, Payments flow, Analytics funnel and Rate limiting.
On your site
Read where product illustrations go, how to place an animated SVG and how to keep animations fast.
For developers
- File size
- 7.4 KB gzipped
- Motion
- Plays once, 3.6 s, then holds
- Reduced motion
- Shows a still
- File
- billing.svg

