datui
Color scheme

Feedback

Progress

Determinate linear progress bar.

import { Progress } from "datui";

Playground

<Progress value={40} appearance="accent" height={4} aria-label="Progress" />

Examples

Values and colors

Accessibility

  • Radix progress semantics: role="progressbar" with aria-valuenow, aria-valuemin=0, aria-valuemax=100.
  • Values are clamped to 0–100.
  • Label it with aria-label or aria-labelledby.

API

Progress

Determinate linear progress bar (`role="progressbar"`). Label it with `aria-label` or `aria-labelledby`.

PropTypeDefaultDescription
appearance(string & {}) | "accent" | "negative" | "positive"accentNamed intent or any CSS color (`#rrggbb`, `var(--x)`).
classNamestring—
heightnumber4Bar height in px.
noTrackboolean—Transparent track.
valuenumber00–100; clamped.