SidebarGroupLabel() — ui Function Reference
Architecture documentation for the SidebarGroupLabel() function in sidebar.tsx from the ui codebase.
Entity Profile
Dependency Diagram
graph TD 4312d067_6a8b_b0f7_c474_a3127d35974d["SidebarGroupLabel()"] 0dd28c0a_4131_40f2_8cf0_e0611d33faf6["sidebar.tsx"] 4312d067_6a8b_b0f7_c474_a3127d35974d -->|defined in| 0dd28c0a_4131_40f2_8cf0_e0611d33faf6 style 4312d067_6a8b_b0f7_c474_a3127d35974d fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
apps/v4/registry/new-york-v4/ui/sidebar.tsx lines 396–415
function SidebarGroupLabel({
className,
asChild = false,
...props
}: React.ComponentProps<"div"> & { asChild?: boolean }) {
const Comp = asChild ? Slot.Root : "div"
return (
<Comp
data-slot="sidebar-group-label"
data-sidebar="group-label"
className={cn(
"text-sidebar-foreground/70 ring-sidebar-ring flex h-8 shrink-0 items-center rounded-md px-2 text-xs font-medium outline-hidden transition-[margin,opacity] duration-200 ease-linear focus-visible:ring-2 [&>svg]:size-4 [&>svg]:shrink-0",
"group-data-[collapsible=icon]:-mt-8 group-data-[collapsible=icon]:opacity-0",
className
)}
{...props}
/>
)
}
Domain
Subdomains
Defined In
Source
Frequently Asked Questions
What does SidebarGroupLabel() do?
SidebarGroupLabel() is a function in the ui codebase, defined in apps/v4/registry/new-york-v4/ui/sidebar.tsx.
Where is SidebarGroupLabel() defined?
SidebarGroupLabel() is defined in apps/v4/registry/new-york-v4/ui/sidebar.tsx at line 396.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free