Progress
Linear progress indicator. Use the wrapper or compose ProgressTrack + ProgressIndicator with a raw base-ui Progress.Root.
Loading…
import { Progress } from "@brijbyte/agentic-ui/progress";
import "@brijbyte/agentic-ui/progress.css";
export default function IndeterminateDemo() {
// Pass value={null} to show the indeterminate animation.
return (
<div style={{ width: "100%" }}>
<Progress value={null} label="Loading…" />
</div>
);
}
Progress
base-ui docs ↗Linear progress indicator with optional label and percentage display.
Pass value={null} for an indeterminate animated state. Use status
to apply semantic colour to the fill.
| Prop | Type | Default |
|---|---|---|
| value | number | null | null |
Current progress value. | ||
| max | number | 100 |
Maximum value (the "complete" end). | ||
| label | string | — |
Accessible label shown above the bar. | ||
| showValue | boolean | false |
Display the percentage next to the label. | ||
| status | "default" | "success" | "warning" | "error" | default |
Semantic colour for the progress fill. | ||
| size | "sm" | "md" | "lg" | md |
Bar thickness. | ||
| className | string | — |
Styled Parts
base-ui docs ↗Pre-styled wrappers around the corresponding base-ui parts. All base-ui props are forwarded.
CSS Class Names
Available as keys on the ProgressStyles object. Each key maps to a hashed CSS module class name at runtime.
indicatorindicator-errorindicator-indeterminateindicator-successindicator-warninglabel-rowroottracktrack-lgtrack-mdtrack-sm