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

Relationship Graph

Source Code

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