

Every state


default


near-limit


over-limit


focus
Props
| Prop | Type | Default | What it does |
|---|---|---|---|
| id | string | "usage" | unique on the page; the label id hangs off it. |
| label | string | "API calls" | what is counted, e.g. "API calls". |
| used | number | 7420 | how much is used so far. |
| limit | number | 10000 | the plan's limit. |
| warnAt | number | 0.8 | share of the limit (0–1) from which the meter warns. |
| resetsAt | string | "2026-12-01T00:00:00Z" | ISO date the count starts again; leave out to hide the line. |
| locale | string | "en-GB" | Locale. |
| timeZone | string | "Europe/Amsterdam" | Time zone. |
| upgradeHref | string | "#upgrade" | link to raise the limit; shown when the meter warns or is over. |
| upgradeLabel | string | "Raise limit" | Upgrade label. |
| overMessage | string | "extra calls are slowed down" | what happens past the limit, shown after the overage. |
| className | string | – | Class name. |


