Progress

A linear progress bar built on Base UI with track, indicator, label and value parts, a default aria label and smooth width transitions. Matches shadcn progress.

src/registry/ui/progress.tsx/r/progress.json
x

Value

Installation#

bash
npx shadcn@latest add @minidev/progress

MiniDev UI is in the shadcn registry directory, so the short form works with no setup. Older CLI versions can use the full URL: npx shadcn@latest add https://ui.minidev.pro/r/progress.json

Usage#

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

export function Example() {
  return (
    <Progress value={64} aria-label="Progress" />
  )
}

API reference#

Also accepts every prop of ProgressPrimitive.Root props, passed through to the root element.

Dependencies#

npm

@base-ui/react

Built from

No other MiniDev files

Examples#

All alerts, toasts and empty states

Learn more