byronwade/ui
Application UI

Feedback · Application UI

Progress

A linear progress bar built on Base UI that displays a labeled, accessible indicator of completion with optional label and numeric value display, plus token-driven intent tones (brand, success, warning, destructive).

Feature showcase

Installation

Features

  • 6 examples

    Default, Tones, Controlled, Indeterminate, Sizes, With Format.

API

Props

PropTypeDefaultDescription
valuenumber | null-The current progress value (typically 0–100). Pass null for indeterminate state.
tone"default" | "brand" | "success" | "warning" | "destructive""default"Colors the indicator bar via semantic tokens, e.g. success for complete, warning/destructive for at-risk.
classNamestring-Additional CSS class names applied to the root wrapper element.
childrenReact.ReactNode-Optional children rendered inside the root before the built-in track (e.g. ProgressLabel, ProgressValue).

Source and related

FilePath
Componentregistry/ui/progress.tsx
Default examplecontent/examples/progress/default.tsx
Tones examplecontent/examples/progress/tones.tsx
Controlled examplecontent/examples/progress/controlled.tsx
Indeterminate examplecontent/examples/progress/indeterminate.tsx
Sizes examplecontent/examples/progress/sizes.tsx
With Format examplecontent/examples/progress/with-format.tsx