Quota Tile
One plan quota — seats, storage, run credits — as a titled tile: a status badge, the count against its allowance, and a usage bar. The state is derived from the numbers, so a quota past its threshold flags itself in words as well as colour.
tsx
import { QuotaTile } from "@pestoui/core"Healthy and near limit
At criticalAt of the allowance (0.8 by default) the badge turns destructive and the bar follows. The tile is a section labelled by its own heading.
55% used
48% used
93% used
Threshold, wording & heading level
criticalAt moves the threshold, the two labels rename the states, and headingLevel fits the title into the page outline it sits in.
48% used
Props
Pesto UI · 117 documented components