Metrics
Quota bar
Usage against a ceiling, with the limit in the drawing.
Events this cycle672 of 907
74% usedResets in 12 days
Props
| Property | Type | Default | Description |
|---|---|---|---|
used | number | — | Consumed amount. May exceed the limit. |
limit | number | — | The ceiling. Must be positive; the track scales to whichever of used/limit/projected is largest, so going over stays visible. |
label | string | "Usage" | Heading above the track. |
projected | number | — | Expected usage by the end of the period, drawn as a ghost extension. Ignored when below used. |
resetsIn | string | — | Free-text countdown, e.g. "26 days". |
variant | "bar" | "segments" | "steps" | "compact" | "bar" | bar is one continuous track. segments meters it into 20 blocks. steps marks the quarters. compact drops the header for use inside a metric card. |
className | string | — | Outer wrapper. |