Progress
muffled-ui-registry/progressFreeComponent
Determinate progress bar on ink and paper.
Live preview
live · rendered by the registry
Rendered by muffled-ui-registry on their own page — this is the component running, not a screenshot of it.Install it
npx shadcn@latest add https://ui.muffled.studio/r/progress.jsonSource
1import { Progress as ProgressPrimitive } from "@base-ui/react/progress"23import { cn } from "@/registry/lib/surface"45function Progress({6 className,7 children,8 value,9 ...props10}: ProgressPrimitive.Root.Props) {11 return (12 <ProgressPrimitive.Root13 value={value}14 data-slot="progress"15 className={cn("flex flex-wrap gap-3", className)}16 {...props}17 >18 {children}19 <ProgressTrack>20 <ProgressIndicator />21 </ProgressTrack>22 </ProgressPrimitive.Root>23 )24}2526function ProgressTrack({ className, ...props }: ProgressPrimitive.Track.Props) {27 return (28 <ProgressPrimitive.Track29 className={cn(30 "relative flex h-1 w-full items-center overflow-x-hidden rounded-full bg-muted",31 className32 )}33 data-slot="progress-track"34 {...props}35 />36 )37}3839function ProgressIndicator({40 className,41 ...props42}: ProgressPrimitive.Indicator.Props) {43 return (44 <ProgressPrimitive.Indicator45 data-slot="progress-indicator"46 className={cn("h-full bg-primary transition-all", className)}47 {...props}48 />49 )50}5152function ProgressLabel({ className, ...props }: ProgressPrimitive.Label.Props) {53 return (54 <ProgressPrimitive.Label55 className={cn("text-sm font-medium", className)}56 data-slot="progress-label"57 {...props}58 />59 )60}6162function ProgressValue({ className, ...props }: ProgressPrimitive.Value.Props) {63 return (64 <ProgressPrimitive.Value65 className={cn(66 "ml-auto text-sm text-muted-foreground tabular-nums",67 className68 )}69 data-slot="progress-value"70 {...props}71 />72 )73}7475export {76 Progress,77 ProgressTrack,78 ProgressIndicator,79 ProgressLabel,80 ProgressValue,81}
What it pulls in
npm packages
Other registry items
Files it writes
More from muffled-ui-registry
All 55 items| Component | Registry | Kind | Access | Installs | Command |
|---|---|---|---|---|---|
| Accordionaccordion | muffled-ui-registry | Components | Free | 2 deps | |
| Alertalert | muffled-ui-registry | Components | Free | 1 dep | |
| Alert Dialogalert-dialog | muffled-ui-registry | Components | Free | 1 dep | |
| Avataravatar | muffled-ui-registry | Components | Free | 1 dep | |
| Badgebadge | muffled-ui-registry | Components | Free | 2 deps | |
| Breadcrumbbreadcrumb | muffled-ui-registry | Components | Free | 2 deps | |
| Buttonbutton | muffled-ui-registry | Components | Free | 2 deps | |
| Button Groupbutton-group | muffled-ui-registry | Components | Free | 2 deps |
