Progress
Displays an indicator showing the completion progress of a task.
<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
$ bext ui add progress
Copy and paste the following into src/components/ui/progress.tsx.
<Progress value={60} />
Usage
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.
Edit this example live in the bext playground — it compiles and runs entirely in your browser.
The React idiom — same UI, for comparison.
On This Page