A bar or ring showing how much of a task is done, or that work is under way.
A Markdown brief for Claude, Cursor or v0: install, setup, props and a complete example.
For how far along a task is, or that something is still working.
A measured value, not a task? Metric. One busy part of a page with no measure? Spinner.
A native progressbar with a label and value. An indeterminate one says it is busy without a number.
import { Progress } from '@idyeah/diya'Stable since 1.0.0
labelRequiredstringAccessible name for the progress bar, such as 'Uploading report'; not shown.
indeterminatebooleanForces indeterminate progress even when value is set.
Default false
showValuebooleanShows the rounded percentage beside the meter, visually only; hidden while indeterminate. Defaults to true.
Default true
valuenumberPercent complete, 0–100 (clamped); omit it for indeterminate progress.
variant"linear" | "circular"'linear' is a bar; 'circular' is a ring. Defaults to 'linear'.
Default 'linear'
Also takes every native <div> attribute, such as id, aria-* or data-*.