Skip to content
h v3.13.3
Search the docs
Find a component, section or page.

Progress

Displays an indicator showing the completion progress of a task, typically displayed as a progress bar.

Installation

pnpm add @heyramzi/ui bits-ui

Usage

import { Progress } from "@heyramzi/ui/shadcn/progress";

Keyboard and accessibility

  • It's a progressbar that reports its value and max.
  • Give it an aria-label that says what's loading, like "Upload". It has no name of its own.
  • With reduced motion on, the fill jumps to each new value.

API reference

tone "neutral" | "accent" | "info" | "success" | "warning" | "destructive"
The fill's colour on the severity scale. Left out, the primary colour.
ref bindable HTMLElement | null
Default null
class string
max number
Default 100
value Progress.Root
...rest
Every prop of Progress.Root from bits-ui except child, children
Prop Type Default
tone

The fill's colour on the severity scale. Left out, the primary colour.

"neutral" | "accent" | "info" | "success" | "warning" | "destructive"
ref bindable HTMLElement | null null
class string
max number 100
value Progress.Root
...rest Every prop of Progress.Root from bits-ui except child, children