LinearProgress
A thin progress bar that appears after a 1 second delay. Pass value for a determinate bar.
Installation
pnpm dlx shadcn@latest add @chelone/linear-progressA thin progress bar that appears after a 1 second delay. Pass value for a determinate bar.
Props
| Prop | Type | Default | Description |
|---|---|---|---|
| max | number | — | Maximum value used to compute the fill percentage. |
| timeout | number | — | Delay in milliseconds before showing the progress bar. |
| value | number | — | When provided, switches to determinate mode and renders the bar at `(value / max) * 100` percent width. |