Progress() — ui Function Reference
Architecture documentation for the Progress() function in progress.tsx from the ui codebase.
Entity Profile
Dependency Diagram
graph TD 96db6f9a_b1cd_06c9_8c91_ffea3b9312be["Progress()"] f5dea41a_a31b_71e0_9fee_2b58e4a21ff0["progress.tsx"] 96db6f9a_b1cd_06c9_8c91_ffea3b9312be -->|defined in| f5dea41a_a31b_71e0_9fee_2b58e4a21ff0 style 96db6f9a_b1cd_06c9_8c91_ffea3b9312be fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
apps/v4/registry/new-york-v4/ui/progress.tsx lines 8–29
function Progress({
className,
value,
...props
}: React.ComponentProps<typeof ProgressPrimitive.Root>) {
return (
<ProgressPrimitive.Root
data-slot="progress"
className={cn(
"bg-primary/20 relative h-2 w-full overflow-hidden rounded-full",
className
)}
{...props}
>
<ProgressPrimitive.Indicator
data-slot="progress-indicator"
className="bg-primary h-full w-full flex-1 transition-all"
style={{ transform: `translateX(-${100 - (value || 0)}%)` }}
/>
</ProgressPrimitive.Root>
)
}
Domain
Subdomains
Defined In
Source
Frequently Asked Questions
What does Progress() do?
Progress() is a function in the ui codebase, defined in apps/v4/registry/new-york-v4/ui/progress.tsx.
Where is Progress() defined?
Progress() is defined in apps/v4/registry/new-york-v4/ui/progress.tsx at line 8.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free