HextaUI

Progress: Without a visible label

Name the bar with aria-label when the context already says what is loading.

x
import { Progress } from "@/components/ui/progress"

export function ProgressUnlabeled() {
  return (
    <div className="w-full max-w-sm">
      <Progress value={45} aria-label="Profile setup" />
    </div>
  )
}

This adds the example as components/examples/progress/unlabeled.tsx, together with the Progress component and the HextaUI theme tokens it needs.

pnpm dlx shadcn@latest add https://hextaui.com/r/progress-unlabeled.json

To add only the component, follow the Progress installation.

Props in this example

The Progress props this example sets, from the API reference.

PropTypeDefault
valuenull makes the bar indeterminate.
number | null–

Every prop is in the Progress API reference.

See them all, with keyboard support and accessibility notes, on the Progress page.