Home / Function/ AppSidebar() — ui Function Reference

AppSidebar() — ui Function Reference

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

Entity Profile

Dependency Diagram

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

Relationship Graph

Source Code

deprecated/www/registry/default/internal/sink/components/app-sidebar.tsx lines 159–175

export function AppSidebar({ ...props }: React.ComponentProps<typeof Sidebar>) {
  return (
    <Sidebar collapsible="icon" {...props}>
      <SidebarHeader>
        <TeamSwitcher teams={data.teams} />
      </SidebarHeader>
      <SidebarContent>
        <NavMain items={data.navMain} />
        <NavProjects projects={data.projects} />
      </SidebarContent>
      <SidebarFooter>
        <NavUser user={data.user} />
      </SidebarFooter>
      <SidebarRail />
    </Sidebar>
  )
}

Subdomains

Frequently Asked Questions

What does AppSidebar() do?
AppSidebar() is a function in the ui codebase, defined in deprecated/www/registry/default/internal/sink/components/app-sidebar.tsx.
Where is AppSidebar() defined?
AppSidebar() is defined in deprecated/www/registry/default/internal/sink/components/app-sidebar.tsx at line 159.

Analyze Your Own Codebase

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

Try Supermodel Free