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

Relationship Graph

Source Code

apps/v4/registry/bases/radix/blocks/sidebar-10/components/app-sidebar.tsx lines 345–360

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

Analyze Your Own Codebase

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

Try Supermodel Free