SidebarGroupLabel() — ui Function Reference
Architecture documentation for the SidebarGroupLabel() function in sidebar.tsx from the ui codebase.
Entity Profile
Dependency Diagram
graph TD 4159a7c5_f23c_8de7_8b3a_50393e08b7b7["SidebarGroupLabel()"] 9d6532a9_426f_ea68_5d06_31eaecadb210["sidebar.tsx"] 4159a7c5_f23c_8de7_8b3a_50393e08b7b7 -->|defined in| 9d6532a9_426f_ea68_5d06_31eaecadb210 style 4159a7c5_f23c_8de7_8b3a_50393e08b7b7 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
deprecated/www/registry/new-york/ui/sidebar.tsx lines 444–459
>(({ className, asChild = false, ...props }, ref) => {
const Comp = asChild ? Slot : "div"
return (
<Comp
ref={ref}
data-sidebar="group-label"
className={cn(
"flex h-8 shrink-0 items-center rounded-md px-2 text-xs font-medium text-sidebar-foreground/70 outline-none ring-sidebar-ring 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
Source
Frequently Asked Questions
What does SidebarGroupLabel() do?
SidebarGroupLabel() is a function in the ui codebase, defined in deprecated/www/registry/new-york/ui/sidebar.tsx.
Where is SidebarGroupLabel() defined?
SidebarGroupLabel() is defined in deprecated/www/registry/new-york/ui/sidebar.tsx at line 444.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free