Progress
A determinate progress indicator shown as a specimen.
Upstream documentationExamples
Example progress
Installation
Run the Ninaero registry command to install the component and its dependencies, including shared theme styles.
Install Progress
pnpm dlx shadcn@latest add 'https://ninaero.pages.dev/r/progress.json'Usage
A complete example using the installed component and hook paths.
Progress usage
"use client";import { Progress, ProgressLabel, ProgressValue } from "@/components/ui/progress";const ProgressPreview = function ProgressPreview() { return ( <Progress value={62} className="w-full"> <ProgressLabel>Example progress</ProgressLabel> <ProgressValue /> </Progress> ); };export default function Demo() { return <ProgressPreview />;}API Reference
Ninaero exports and local defaults are listed below. See the upstream reference for inherited primitive props and additional composition examples.
Progress
Progress props
ProgressPrimitive.Root.Props & { sound?: boolean }- max
- 100
- sound
- true
ProgressTrack
ProgressTrack props
ProgressPrimitive.Track.PropsProgressIndicator
ProgressIndicator props
ProgressPrimitive.Indicator.PropsProgressLabel
ProgressLabel props
ProgressPrimitive.Label.PropsProgressValue
ProgressValue props
ProgressPrimitive.Value.Props