Skip to main content

Import

Basic usage

Renders a progress bar showing current usage vs the plan limit, with a reset timer. Usage display

Props

string
Show usage for a specific feature. Omit to show all metered features.
string
Custom title above the usage display.
boolean
default:"true"
Show the progress bar.
boolean
default:"true"
Show when the usage counter resets.
string
Custom CSS class name.

CompactUsageDisplay

A smaller variant for inline use (e.g., in headers or sidebars).

Props

string
required
The feature key to display usage for.
string
Custom CSS class name.

Examples

All features

Single feature in a sidebar

Custom styled