TidalUI

Progress preview

Progress bars and rings for active, paused and failed work.

pro · Feedback · primitive

When to use

Alternatives

Configure components.json and the @tidal-pro namespace before installing Pro components.

Installation

npx shadcn@latest add @tidal-pro/progress

Import components/ui/tidal.css, components/ui/progress.css. Wrap installed components in tidal-scope.

Preview

Progress component preview

Open interactive preview

Minimal example

import"./components/ui/tidal.css";
import"./components/ui/progress.css";
import{TidalProgress}from"./components/ui/progress";
export default()=><div className="tidal-scope"><TidalProgress label={"Demo"}/></div>;

API and props

TidalProgress.label (required)
string

Required label value accepted by this exported component.

TidalProgress.description
string | undefined

Optional description value accepted by this exported component.

TidalProgress.max
number | undefined

Optional max value accepted by this exported component.

TidalProgress.showValue
boolean | undefined

Optional show value value accepted by this exported component.

TidalProgress.status
"error" | "active" | "paused" | undefined

Optional status value accepted by this exported component.

TidalProgress.value
number | null | undefined

Omit, pass null, or pass a nonfinite number when the amount of work is unknown.

TidalProgress.valueLabel
string | undefined

A contextual reading such as "3 of 8 files". Also becomes the accessible value text.

TidalProgress.variant
"bar" | "ring" | undefined

Optional variant value accepted by this exported component.

Complete usage

Full example, stylesheet imports, API and accessibility documentation

Gotchas