Components
A HeroUI progress bar for showing completion of a task — loading, uploads, multi-step flows. Built on react-aria with an accessible label and formatted output. Supports accent/success/warning/danger colors, sm/md/lg sizes, an indeterminate animated state, and an optional label.
Loading preview...
"use client"
import { ProgressBar } from "@/components/ui/heroui-progress-bar"
import { Label } from "@heroui/react"
export default function Indeterminate() {
return (
<div className="flex w-full items-center justify-center p-10">
<ProgressBar isIndeterminate aria-label="Loading" className="w-64" color="accent">
<Label>Loading...</Label>
<ProgressBar.Track>
<ProgressBar.Fill />
</ProgressBar.Track>
</ProgressBar>
</div>
)
}
Loading preview...
Loading preview...
Loading preview...
Loading preview...