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
  d4b19af5_baf1_762f_d164_ec5796ca4cc2["SidebarLeft()"]
  eafb0199_fef9_0c80_27a2_b0800bf1ee55["sidebar-15.tsx"]
  d4b19af5_baf1_762f_d164_ec5796ca4cc2 -->|defined in| eafb0199_fef9_0c80_27a2_b0800bf1ee55
  style d4b19af5_baf1_762f_d164_ec5796ca4cc2 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

deprecated/www/registry/default/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/default/internal/sidebar-15.tsx.
Where is SidebarLeft() defined?
SidebarLeft() is defined in deprecated/www/registry/default/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