Progress towards a maximum, with an optional target.
import { Meter } from '@oztix/roadie-components/meter'
<div className='w-48'> <Meter label='Tickets sold' value={1842} max={2400} /> </div>
<div className='w-48'> <Meter label='Tickets sold' value={1842} max={2400} target={2040} /> </div>
Meter for progress against a fixed limit, such as capacity or a sales target. Use Sparkline for a trend over time.target for a line marker on the track, such as a sell-through goal.tone: highlight for the lead value, context for a supporting one, other for a segment that doesn't fit either.Meter renders role='meter' with aria-valuemin, aria-valuemax and aria-valuenow set from max and the segment total.valueText for a spoken value that isn't just the raw number, such as "1,842 of 2,400 sold".A single filled value. Ignored when `segments` is set.
Defaults to 0.
Spoken value. Defaults to "1,842 of 2,400".