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

Relationship Graph

Source Code

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