Home / Function/ SidebarLeft() — ui Function Reference

SidebarLeft() — ui Function Reference

Architecture documentation for the SidebarLeft() function in sidebar-15.tsx from the ui codebase.

Entity Profile

Dependency Diagram

graph TD
  76f670e0_e08f_0b5a_a533_2b5dfbd4fb3d["SidebarLeft()"]
  0da5a590_425d_37de_a914_76838181ad91["sidebar-15.tsx"]
  76f670e0_e08f_0b5a_a533_2b5dfbd4fb3d -->|defined in| 0da5a590_425d_37de_a914_76838181ad91
  style 76f670e0_e08f_0b5a_a533_2b5dfbd4fb3d fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

deprecated/www/registry/new-york/internal/sidebar-15.tsx lines 372–390

function SidebarLeft({ ...props }: React.ComponentProps<typeof Sidebar>) {
  return (
    <Sidebar className="border-r-0" {...props}>
      <SidebarHeader>
        <TeamSwitcher teams={sidebarLeftData.teams} />
        <NavMain items={sidebarLeftData.navMain} />
      </SidebarHeader>
      <SidebarContent>
        <NavFavorites favorites={sidebarLeftData.favorites} />
        <NavWorkspaces workspaces={sidebarLeftData.workspaces} />
        <NavSecondary
          items={sidebarLeftData.navSecondary}
          className="mt-auto"
        />
      </SidebarContent>
      <SidebarRail />
    </Sidebar>
  )
}

Subdomains

Frequently Asked Questions

What does SidebarLeft() do?
SidebarLeft() is a function in the ui codebase, defined in deprecated/www/registry/new-york/internal/sidebar-15.tsx.
Where is SidebarLeft() defined?
SidebarLeft() is defined in deprecated/www/registry/new-york/internal/sidebar-15.tsx at line 372.

Analyze Your Own Codebase

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

Try Supermodel Free