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

Relationship Graph

Source Code

deprecated/www/registry/new-york/blocks/dashboard-01/components/app-sidebar.tsx lines 153–181

export function AppSidebar({ ...props }: React.ComponentProps<typeof Sidebar>) {
  return (
    <Sidebar collapsible="offcanvas" {...props}>
      <SidebarHeader>
        <SidebarMenu>
          <SidebarMenuItem>
            <SidebarMenuButton
              asChild
              className="data-[slot=sidebar-menu-button]:!p-1.5"
            >
              <a href="#">
                <ArrowUpCircleIcon className="h-5 w-5" />
                <span className="text-base font-semibold">Acme Inc.</span>
              </a>
            </SidebarMenuButton>
          </SidebarMenuItem>
        </SidebarMenu>
      </SidebarHeader>
      <SidebarContent>
        <NavMain items={data.navMain} />
        <NavDocuments items={data.documents} />
        <NavSecondary items={data.navSecondary} className="mt-auto" />
      </SidebarContent>
      <SidebarFooter>
        <NavUser user={data.user} />
      </SidebarFooter>
    </Sidebar>
  )
}

Subdomains

Frequently Asked Questions

What does AppSidebar() do?
AppSidebar() is a function in the ui codebase, defined in deprecated/www/registry/new-york/blocks/dashboard-01/components/app-sidebar.tsx.
Where is AppSidebar() defined?
AppSidebar() is defined in deprecated/www/registry/new-york/blocks/dashboard-01/components/app-sidebar.tsx at line 153.

Analyze Your Own Codebase

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

Try Supermodel Free