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

Relationship Graph

Source Code

apps/v4/registry/new-york-v4/blocks/sidebar-15/components/sidebar-left.tsx lines 261–278

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/new-york-v4/blocks/sidebar-15/components/sidebar-left.tsx.
Where is SidebarLeft() defined?
SidebarLeft() is defined in apps/v4/registry/new-york-v4/blocks/sidebar-15/components/sidebar-left.tsx at line 261.

Analyze Your Own Codebase

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

Try Supermodel Free