Meter
Shows how much of a fixed allowance is used, such as seats on a plan or requests against a limit, as a thin bar that fills toward its limit with the amount written beside it.
Examples
Seats
Your plan
Seats
Saved searches
Exports this month
States
Exports this month
Usage
Use it when
- A fixed allowance that is used up and does not finish, such as seats on a plan, saved searches or exports this month.
- A level against a limit, where passing a mark is bad news and the amount still needs to be read.
Use something else when
- Work that finishes, such as an upload. Use Progress instead.
- An amount whose total is not known. Use Spinner instead.
- Names ranked by value, each read row by row. Use BarList instead.
Rules
General
Content
Avoid
Install
npx shadcn@latest add https://kaanarici.com/r/cobalt/meter.jsonimport { Meter, MeterLabel, MeterValue } from "@/components/cobalt/ui/meter"