SidebarGroupLabel() — ui Function Reference
Architecture documentation for the SidebarGroupLabel() function in sidebar.tsx from the ui codebase.
Entity Profile
Dependency Diagram
graph TD efcbc3c9_67b0_c95c_7d7a_daa5177ea6a4["SidebarGroupLabel()"] c6a487be_ed5c_9993_6886_f0ead3f0c895["sidebar.tsx"] efcbc3c9_67b0_c95c_7d7a_daa5177ea6a4 -->|defined in| c6a487be_ed5c_9993_6886_f0ead3f0c895 style efcbc3c9_67b0_c95c_7d7a_daa5177ea6a4 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
apps/v4/registry/bases/radix/ui/sidebar.tsx lines 402–420
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(
"cn-sidebar-group-label flex shrink-0 items-center outline-hidden [&>svg]:shrink-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/bases/radix/ui/sidebar.tsx.
Where is SidebarGroupLabel() defined?
SidebarGroupLabel() is defined in apps/v4/registry/bases/radix/ui/sidebar.tsx at line 402.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free