Velocity X Components

Growth & Conversion

Usage Limit Meter

Shows consumption against a plan limit — seats, API calls, storage — with tone that escalates toward an upgrade action as the account gets close to its cap.

Subscription Included with the Velocity Components subscription.
bash
$ velocityx add usage-limit-meter

Built for react. Needs react already installed as a peer dependency. An Astro-only project needs @astrojs/react wired up first — this won't run on its own in plain Astro.

Needs a licence key — subscribe here, then velocityx loginonce.

react v1.0.1 react
Usage Limit Meter

Exports this month

82 / 100 exports

Getting close — 18 exports left this period.

Upgrade plan

Props

NameTypeRequiredDefaultDescription
labelstringYes
usednumberYes
limitnumber | nullYes
unitstringNo'uses'
upgradeHrefstringNo
warnAtnumberNo0.7
urgentAtnumberNo0.95

File this creates

The CLI writes this path into your project, relative to its root — nothing else moves.

text
components/velocity/usage-limit-meter/UsageLimitMeter.tsx

Using the Usage Limit Meter component

Install it with velocityx add usage-limit-meter. The CLI writes the source straight into your project — no runtime dependency, no registry lock-in, and it themes itself from the same primary-*/accent-* scale as the rest of the library.

More from Growth & Conversion.