Progress
Progress Primitive
Demo
Shows an indicator representing the advancement status of a task.
Installation
Copy/paste the following code to ~/components/ui/progress.tsx
:
Usage
Props
Progress
Extends View
props
Prop | Type | Note |
---|---|---|
asChild | boolean | (optional) |
value | number | null | undefined | (optional) |
max | number | (optional) |
getValueLabel | (value: number, max: number): string | (optional) |