Home / Function/ SidebarLeft() — ui Function Reference

SidebarLeft() — ui Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  aaf00f8a_9732_9ef3_b35d_a85b3ca019c7["SidebarLeft()"]
  6226113d_1c4f_fd34_5b1a_4a488378975a["sidebar-left.tsx"]
  aaf00f8a_9732_9ef3_b35d_a85b3ca019c7 -->|defined in| 6226113d_1c4f_fd34_5b1a_4a488378975a
  style aaf00f8a_9732_9ef3_b35d_a85b3ca019c7 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

apps/v4/registry/bases/radix/blocks/sidebar-15/components/sidebar-left.tsx lines 345–362

export function SidebarLeft({
  ...props
}: React.ComponentProps<typeof Sidebar>) {
  return (
    <Sidebar className="border-r-0" {...props}>
      <SidebarHeader>
        <TeamSwitcher teams={data.teams} />
        <NavMain items={data.navMain} />
      </SidebarHeader>
      <SidebarContent>
        <NavFavorites favorites={data.favorites} />
        <NavWorkspaces workspaces={data.workspaces} />
        <NavSecondary items={data.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 apps/v4/registry/bases/radix/blocks/sidebar-15/components/sidebar-left.tsx.
Where is SidebarLeft() defined?
SidebarLeft() is defined in apps/v4/registry/bases/radix/blocks/sidebar-15/components/sidebar-left.tsx at line 345.

Analyze Your Own Codebase

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

Try Supermodel Free