Aliases
progress bar
components / progress
Linear progress meter with tone-aware fill, readable labels, and restrained motion.
Playground
Start here. Switch systems, interact with the shipped component, and let the rest of the page answer the why and how after the behavior clicks.
Cobalt
The crisp default DK action system: bright primary, roomy spacing, and a direct editorial rhythm.
Overview
This section explains the intent of the component before the implementation details.
Aliases
progress bar
Explore the math
Decision guide
Use these notes to decide quickly whether this is the right DK component for the job.
Decision guide
Do
Do not
Usage
Prefer these situations when choosing this component.
Usage
These patterns are better served by a different component or a simpler surface.
Anti-patterns
Migration notes
Anatomy
The anatomy explains which pieces matter to the recipe and accessibility model.
meter shell
rootWraps label, track, and fill.
progress label
labelNames the work being measured.
background track
trackShows the full extent of the work.
current value
fillRepresents the completed portion of the work.
API
The docs contract distinguishes props, DOM events, and slots so integration behavior is explicit.
Props
| Name | Type | Default | Description |
|---|---|---|---|
tone | 'brand' | 'success' | 'warning' | 'brand' | Chooses the semantic fill treatment. |
size | 'sm' | 'md' | 'md' | Chooses the compiled size recipe for the component. |
value | number | — | Current determinate progress value from 0 to 100. |
label | string | — | Visible description of the in-progress work. |
theme | ThemeContract | — | Overrides the compiled DK theme used to resolve tokens and recipes for this component. |
Slots
| Name | Description |
|---|---|
default | Optional inline label content override. |
Recipes
These notes summarize the intended recipe surface rather than exposing raw implementation detail first.
Variants
Sizes
States
Accessibility
This is the behavior the component promises to assistive tech and keyboard users today.
Semantics
Keyboard
Screen readers
Checklist
Implementation
This section shows the representative compiled slot variables that the runtime consumes for the selected design system.
Implementation notes
Implementation checklist
Examples
Each example is intentionally practical, grouped by starter, common pattern, and edge-case coverage.
Starter
1 example
starter
Starter: migration progressA default progress meter with one label and determinate value.
Copy snippet
<Progress tone="brand" value={68} label="Migration progress" />Common patterns
1 example
common
Common: task nearly doneUse success tone when the work is finishing positively.
Copy snippet
<Progress tone="success" value={92} label="Import complete" />Edge cases
1 example
edge
Edge: risky workflowUse warning only when the work itself is cautionary, not just because it is slow.
Copy snippet
<Progress tone="warning" value={40} label="Reindexing critical data" />Verification
Proofs stay visible in the docs so the system shows what it can guarantee, not just what it can render.
size=md|tone=brand
size=sm|tone=success
size=md|tone=danger