progress
agileflow-projectquestorg/progressFreeComponent
shadcn/ui publishes no description for this item.
Install it
npx shadcn@latest add https://raw.githubusercontent.com/projectquestorg/AgileFlow/main/apps/docs/public/r/styles/radix-nova/progress.jsonSource
1"use client"23import * as React from "react"4import { Progress as ProgressPrimitive } from "radix-ui"56import { cn } from "@/registry/bases/radix/lib/utils"78function Progress({9 className,10 value,11 ...props12}: React.ComponentProps<typeof ProgressPrimitive.Root>) {13 return (14 <ProgressPrimitive.Root15 data-slot="progress"16 className={cn(17 "bg-muted h-1 rounded-full relative flex w-full items-center overflow-x-hidden",18 className19 )}20 {...props}21 >22 <ProgressPrimitive.Indicator23 data-slot="progress-indicator"24 className="bg-primary size-full flex-1 transition-all"25 style={{ transform: `translateX(-${100 - (value || 0)}%)` }}26 />27 </ProgressPrimitive.Root>28 )29}3031export { Progress }
Files it writes
More from shadcn/ui
All 133 items| Component | Registry | Kind | Access | Installs | Command |
|---|---|---|---|---|---|
| accordionaccordion | shadcn/ui | Components | Free | no deps | |
| alertalert | shadcn/ui | Components | Free | no deps | |
| alert-dialogalert-dialog | shadcn/ui | Components | Free | no deps | |
| aspect-ratioaspect-ratio | shadcn/ui | Components | Free | no deps | |
| avataravatar | shadcn/ui | Components | Free | no deps | |
| badgebadge | shadcn/ui | Components | Free | no deps | |
| breadcrumbbreadcrumb | shadcn/ui | Components | Free | no deps | |
| buttonbutton | shadcn/ui | Components | Free | no deps |
