Skip to content
Components

Progress

Determinate task progress with optional label and value rows.

Composition

Anatomy

  • <Progress>
    • <ProgressLabel />
    • <ProgressValue />
    • <ProgressTrack>
      • <ProgressIndicator />
      </ProgressTrack>
    </Progress>

Installation

The Control UI source installs this primitive from src/registry/sources/control-ui/ui/progress.tsx.

Registry command
See registry manifest

Raw code

Primary installed source

src/registry/sources/control-ui/ui/progress.tsx

Knobs

Typed custom properties the recipe paints with. Set one on the root — style, a utility class, or a skin — and every slot inherits it.

--cui-range-* · 13 knobsHow the cascade resolves
--cui-range-level-warning-background<color>var(--warning)
--cui-range-level-clip-background<color>var(--destructive)
--cui-range-level-size<length-percentage>calc(var(--spacing) * 2)
--cui-range-level-scale-foreground<color>var(--muted-foreground)
--cui-range-indeterminate-size<length-percentage>40%
--cui-range-track-radius<length-percentage>9999px
--cui-range-track-background<color>var(--muted)
--cui-range-indicator-radius<length-percentage>9999px
--cui-range-indicator-background<color>var(--primary)
--cui-range-thumb-radius<length-percentage>9999px
--cui-range-thumb-background<color>var(--background)
--cui-range-thumb-border-color<color>var(--control-rim)
--cui-range-thumb-shadow*var(--shadow-sm)