Home / Function/ AppSidebar() — ui Function Reference

AppSidebar() — ui Function Reference

Architecture documentation for the AppSidebar() function in sidebar-10.tsx from the ui codebase.

Entity Profile

Dependency Diagram

graph TD
  c5eae18b_6752_f85d_de47_9d78f3dcf8ba["AppSidebar()"]
  73e82757_8847_5291_7320_5527ecf4bd3e["sidebar-10.tsx"]
  c5eae18b_6752_f85d_de47_9d78f3dcf8ba -->|defined in| 73e82757_8847_5291_7320_5527ecf4bd3e
  style c5eae18b_6752_f85d_de47_9d78f3dcf8ba fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

deprecated/www/registry/new-york/internal/sidebar-10.tsx lines 415–430

function AppSidebar({ ...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 AppSidebar() do?
AppSidebar() is a function in the ui codebase, defined in deprecated/www/registry/new-york/internal/sidebar-10.tsx.
Where is AppSidebar() defined?
AppSidebar() is defined in deprecated/www/registry/new-york/internal/sidebar-10.tsx at line 415.

Analyze Your Own Codebase

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

Try Supermodel Free