Progress
Show measurable or indeterminate task progress.
Use Progress for measurable task completion or for work whose end is not yet known. Choose a determinate value only when it represents real progress.
Basic usage#
Playground#
65%
Props
Slots
Anatomy#
Usage#
Progress models#
Provide a value for determinate progress and omit it for indeterminate progress. Step mode represents a discrete sequence rather than continuous completion; choose the model that matches the work being described.
Semantics and animation#
The component exposes progressbar metadata. Supply a meaningful label or relationship when visual context alone does not identify the operation. Animation settings affect presentation, not progress ownership.
Attributes#
Attributes
data-indeterminateSlot: progress, progress-indicatorDescription: Present when the checkbox or progress state is indeterminate.data-progressSlot: progress, progress-indicatorDescription: Stores whether determinate progress is loading or complete.data-stateSlot: progress-stepDescription: Stores the component state used by styling hooks (e.g. open, closed, active).Props#
Renders a <div> element by default.
Prop