MeterCard

One share of a whole: a title, the percentage as a KPI, an ink bar on the series track, and a caption with the raw numbers. Values over 100 fill the bar and keep their number.

import { MeterCard, Meter, InlineMeter } from "@puckoops/camelot";

Studio capacity

78%

31 of 40 booked hours this week.

NameDescriptionDefaultControl
title*
ReactNode
-
percent*
0–100; more keeps its number
number
-
013078
caption
ReactNode
-
className
string
-

When to use

Use MeterCard for one share of a whole. Use InlineMeter inside a drawer or row for the Allocated / Committed / Consumed / Invoiced stack.

Examples

Empty

Zero is a real value: the track shows, the figure reads 0%.

Retainer used

0%

Nothing billed against October yet.

Full

Exactly used.

Budget allocated

100%

£42,000 of £42,000 committed.

Over

Past 100 the bar stays full and the figure tells the overrun.

Hours against estimate

112%

56 of 50 estimated hours.

All Variants

Empty, partial, full and over, as a 3 × 4 row of counts.

Retainer used

0%

Nothing billed yet.

Studio capacity

78%

31 of 40 hours.

Budget allocated

100%

£42,000 of £42,000.

Against estimate

112%

56 of 50 hours.