Home / Function/ SidebarContent() — ui Function Reference

SidebarContent() — ui Function Reference

Architecture documentation for the SidebarContent() function in sidebar.tsx from the ui codebase.

Entity Profile

Dependency Diagram

graph TD
  95091f52_cf79_313c_4a72_335604b2fc46["SidebarContent()"]
  0dd28c0a_4131_40f2_8cf0_e0611d33faf6["sidebar.tsx"]
  95091f52_cf79_313c_4a72_335604b2fc46 -->|defined in| 0dd28c0a_4131_40f2_8cf0_e0611d33faf6
  style 95091f52_cf79_313c_4a72_335604b2fc46 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

apps/v4/registry/new-york-v4/ui/sidebar.tsx lines 371–383

function SidebarContent({ className, ...props }: React.ComponentProps<"div">) {
  return (
    <div
      data-slot="sidebar-content"
      data-sidebar="content"
      className={cn(
        "flex min-h-0 flex-1 flex-col gap-2 overflow-auto group-data-[collapsible=icon]:overflow-hidden",
        className
      )}
      {...props}
    />
  )
}

Subdomains

Frequently Asked Questions

What does SidebarContent() do?
SidebarContent() is a function in the ui codebase, defined in apps/v4/registry/new-york-v4/ui/sidebar.tsx.
Where is SidebarContent() defined?
SidebarContent() is defined in apps/v4/registry/new-york-v4/ui/sidebar.tsx at line 371.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free