Tick Meter
A capacity meter drawn as a row of rounded ticks that segments fill in order, with a legend, the filled share and the scale end.
Interactive preview · desktop · dark
Installation
Installation is available on the Startup and Business plans. Your personal install command appears here once you have access.
Usage
Import it, pass your props, and make it part of your product.
example.tsx
import { TickMeterChart } from '@/components/component-kit/items/chart-tick-meter';
export function Example() { return ( <TickMeterChart title="Seat allocation" description="How this plan's seats are assigned across your workspace." segments={[ { id: 'members', label: 'Members', percent: 64 }, { id: 'guests', label: 'Guest reserve', percent: 12 }, ]} footer={<span>Unused seats roll over monthly.</span>} /> );}Props
| Prop | Type | Default | Description |
|---|---|---|---|
segments | TickMeterSegment[] | — | Segments as percentages, filled from the left in order. |
ticks | number | 48 | Number of ticks across the meter. |
footer | ReactNode | — | Help text or link under the meter. |