Component libraryProgress
Progress
ProProgress bars and rings for active, paused and failed work.
npx shadcn@latest add @tidal-pro/progressInstallation
Pro source is gated. Configure the @tidal-pro registry using the agent guide. Create an access key from your account after purchasing.
Terminal
Import components/ui/tidal.css, components/ui/progress.css, then add the component inside a tidal-scope wrapper. Its scoped design tokens keep it independent of your existing CSS.
Usage
Complete example source · Dependency and asset manifest
Loading the complete example…
API & behavior
Required label. Optional value:number|null (omitted/nonfinite means unknown), max(default100; invalid/nonpositive falls back100), status active|paused|error(defaultactive), variant bar|ring(defaultbar), description, valueLabel (custom visual and accessible reading; ring context sits beside the numeric ring), showValue(defaulttrue), native wrapper div attributes/ref/className/style. Finite values clamp0..max. Active atmax becomes complete; paused/error retain the supplied amount. Integer percentages round down so incomplete work never claims100. Progressbar exposes immediate exact value/max and contextual value text; it is read-only and does not announce each tick. Consumers own actual work, errors, persistence and any completion announcement. Unknown active indicators animate; paused/error and reduced motion stop loops. Ring/rail geometry and persistent digit columns transition from their current rendered positions.
Style with the --t-* CSS variables. Set data-theme="dark" on your tidal-scope wrapper for a dark surface. Motion respects the system’s reduced-motion preference.