bx

Progress

Displays an indicator showing the completion progress of a task.

tsx
<Progress value={60} />

Progress — barre horizontale qui indique une progression 0..100%. Utile pour upload, install, batch operation. Pour un état "en cours indéterminé", préférer Spinner.

Installation

Terminal
$ bext ui add progress

Usage

tsx
import { Progress } from "@bext-stack/ui/primitives"

<Progress value={60} />

Anatomy

<Progress value={0..100} />

API Reference

Progress

Prop Type Default Description
value number 0 Pourcentage 0..100.
className string undefined

Accessibility

Devrait porter role="progressbar" aria-valuenow aria-valuemin aria-valuemax.

Try it live Open in play

Edit this example live in the bext playground — it compiles and runs entirely in your browser.

src/app/page.tsx 1 file · react · runs in your browser
The React idiom — same UI, for comparison.