progress.tsx — ui Source File
Architecture documentation for progress.tsx, a tsx file in the ui codebase. 3 imports, 0 dependents.
Entity Profile
Dependency Diagram
graph LR f5dea41a_a31b_71e0_9fee_2b58e4a21ff0["progress.tsx"] 1d141819_425e_b5fd_4c8e_32f7c6a42cf2["react"] f5dea41a_a31b_71e0_9fee_2b58e4a21ff0 --> 1d141819_425e_b5fd_4c8e_32f7c6a42cf2 9c463da6_747b_38dc_586b_cbb4873070b1["radix-ui"] f5dea41a_a31b_71e0_9fee_2b58e4a21ff0 --> 9c463da6_747b_38dc_586b_cbb4873070b1 79081a1f_55a3_945a_fb8c_d53d6d3eab81["utils"] f5dea41a_a31b_71e0_9fee_2b58e4a21ff0 --> 79081a1f_55a3_945a_fb8c_d53d6d3eab81 style f5dea41a_a31b_71e0_9fee_2b58e4a21ff0 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
"use client"
import * as React from "react"
import { Progress as ProgressPrimitive } from "radix-ui"
import { cn } from "@/lib/utils"
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>
)
}
export { Progress }
Domain
Subdomains
Functions
Dependencies
- radix-ui
- react
- utils
Source
Frequently Asked Questions
What does progress.tsx do?
progress.tsx is a source file in the ui codebase, written in tsx. It belongs to the ComponentRegistry domain, ChartRegistry subdomain.
What functions are defined in progress.tsx?
progress.tsx defines 1 function(s): Progress.
What does progress.tsx depend on?
progress.tsx imports 3 module(s): radix-ui, react, utils.
Where is progress.tsx in the architecture?
progress.tsx is located at apps/v4/registry/new-york-v4/ui/progress.tsx (domain: ComponentRegistry, subdomain: ChartRegistry, directory: apps/v4/registry/new-york-v4/ui).
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free