Component docs
Loading
import { ProgressBar } from "@pixxl-tools/components";
// In Server Components:
import { ProgressBar } from "@pixxl-tools/components/server";| Prop | Type | Default | Description |
|---|---|---|---|
value (required) | number | — | Current value (controlled); null where it means "nothing selected". |
max | number | — | — |
valuerequirednumber
Current value (controlled); null where it means "nothing selected".
maxnumber
Other props are passed to the root element (HTMLAttributes<HTMLDivElement>), including className, style, id and aria-* attributes.
<ProgressBar value={40} max={100} />