Progress
Task completion as a bar or circle from 0 to 100, or an indeterminate bar when the percent is not known.
How far along or how full something is, from 0 to 100, as a bar, a ring, or a half ring, with optional red, amber, and green zones.
How far along or how full something is, 0 to 100, as a bar, ring, or half ring, with optional zones. Not Progress. Not UsageList. Not MeterCircle.
Budget at 60 on a medium bar with its value. Variants shows thresholds, reference lines and the ring shapes.
Simple determinate completion without zones stays Progress. Zones, datatip, and indeterminate belong here.
import { Meter } from "agentic-ds-kit";From contracts/meter.json: must is the a11y requirements, defaults the prop defaults, stops if the doNot rules where the agent asks instead of inventing a cousin.
| Name | Type | Required | Default | Notes |
|---|---|---|---|---|
| value | number | "indeterminate" | Yes | — | 0 to 100. Values outside are clamped. indeterminate is for work whose amount done is not known: a short segment slides along a bar, with no percent. Bar only. |
| label | string | No | Progress | Names it for screen readers, like Storage used. |
| shape | bar | circle | semicircle | No | bar | bar fills its container's width. circle is a ring that fills clockwise from the top. semicircle is a bowl: 0 to 100 runs from its left tip, under, to its right tip. |
| size | sm | md | lg | No | md | Bar: space-1 / space-2 / space-3 tall. Circle and semicircle: 56 / 96 / 196 wide. |
| thresholds | none | bar | plotArea | all | No | none | Zones are thirds: under 33 is red, under 67 amber, the rest green. none: brand (ink) value on a muted track. bar: the value takes its zone's color. plotArea: the track takes the value's zone color under a brand value. all: the track shows all three bands under a brand value. |
| intent | enum | No | — | Sets the value's color outright, whatever thresholds says, when the screen knows what the value means. neutral is a mid grey for a value that carries no judgement. Leave it out for the brand (ink) value or the threshold zones. info | success | warning | danger | neutral |
| referenceLines | boolean | No | false | Marks at the zone edges, a third and two thirds along. |
| showValue | boolean | No | false | The rounded percent: after the bar, or inside the ring. |
| datatip | string | No | — | A short note in a tip at the end of the value, like $6,000 of $10,000. |
Task completion as a bar or circle from 0 to 100, or an indeterminate bar when the percent is not known.
A list of usage limits, one a row: the limit's name, how much is used of it, a bar, and a short note.
Spinning circular loader for short indeterminate waits.
Gray placeholder shapes in the layout of content that is still loading, like lines of text, an avatar, or an image, or a whole table, card, or list layout, so the page keeps its shape until the data arrives.