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
  9275b8f3_7234_095b_5d98_d2904a63b0ae["AppSidebar()"]
  a3d11b41_48fd_164d_8e57_fc4b943f5a20["app-sidebar.tsx"]
  9275b8f3_7234_095b_5d98_d2904a63b0ae -->|defined in| a3d11b41_48fd_164d_8e57_fc4b943f5a20
  style 9275b8f3_7234_095b_5d98_d2904a63b0ae fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

apps/v4/registry/bases/base/blocks/sidebar-07/components/app-sidebar.tsx lines 228–244

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 apps/v4/registry/bases/base/blocks/sidebar-07/components/app-sidebar.tsx.
Where is AppSidebar() defined?
AppSidebar() is defined in apps/v4/registry/bases/base/blocks/sidebar-07/components/app-sidebar.tsx at line 228.

Analyze Your Own Codebase

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

Try Supermodel Free