label.tsx — ui Source File
Architecture documentation for label.tsx, a tsx file in the ui codebase. 3 imports, 0 dependents.
Entity Profile
Dependency Diagram
graph LR 371374b9_b385_cbef_188a_25878dc87012["label.tsx"] 1d141819_425e_b5fd_4c8e_32f7c6a42cf2["react"] 371374b9_b385_cbef_188a_25878dc87012 --> 1d141819_425e_b5fd_4c8e_32f7c6a42cf2 9c463da6_747b_38dc_586b_cbb4873070b1["radix-ui"] 371374b9_b385_cbef_188a_25878dc87012 --> 9c463da6_747b_38dc_586b_cbb4873070b1 79081a1f_55a3_945a_fb8c_d53d6d3eab81["utils"] 371374b9_b385_cbef_188a_25878dc87012 --> 79081a1f_55a3_945a_fb8c_d53d6d3eab81 style 371374b9_b385_cbef_188a_25878dc87012 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
"use client"
import * as React from "react"
import { Label as LabelPrimitive } from "radix-ui"
import { cn } from "@/lib/utils"
function Label({
className,
...props
}: React.ComponentProps<typeof LabelPrimitive.Root>) {
return (
<LabelPrimitive.Root
data-slot="label"
className={cn(
"flex items-center gap-2 text-sm leading-none font-medium select-none group-data-[disabled=true]:pointer-events-none group-data-[disabled=true]:opacity-50 peer-disabled:cursor-not-allowed peer-disabled:opacity-50",
className
)}
{...props}
/>
)
}
export { Label }
Domain
Subdomains
Functions
Dependencies
- radix-ui
- react
- utils
Source
Frequently Asked Questions
What does label.tsx do?
label.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 label.tsx?
label.tsx defines 1 function(s): Label.
What does label.tsx depend on?
label.tsx imports 3 module(s): radix-ui, react, utils.
Where is label.tsx in the architecture?
label.tsx is located at apps/v4/registry/new-york-v4/ui/label.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