AppSidebar() — ui Function Reference
Architecture documentation for the AppSidebar() function in app-sidebar.tsx from the ui codebase.
Entity Profile
Dependency Diagram
graph TD 139927f8_f393_62df_7e23_773663c6ffc5["AppSidebar()"] 500b88d1_6fc2_d069_dccb_851e82ff779e["app-sidebar.tsx"] 139927f8_f393_62df_7e23_773663c6ffc5 -->|defined in| 500b88d1_6fc2_d069_dccb_851e82ff779e style 139927f8_f393_62df_7e23_773663c6ffc5 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
deprecated/www/registry/new-york/blocks/sidebar-08/components/app-sidebar.tsx lines 155–185
export function AppSidebar({ ...props }: React.ComponentProps<typeof Sidebar>) {
return (
<Sidebar variant="inset" {...props}>
<SidebarHeader>
<SidebarMenu>
<SidebarMenuItem>
<SidebarMenuButton size="lg" asChild>
<a href="#">
<div className="flex aspect-square size-8 items-center justify-center rounded-lg bg-sidebar-primary text-sidebar-primary-foreground">
<Command className="size-4" />
</div>
<div className="grid flex-1 text-left text-sm leading-tight">
<span className="truncate font-semibold">Acme Inc</span>
<span className="truncate text-xs">Enterprise</span>
</div>
</a>
</SidebarMenuButton>
</SidebarMenuItem>
</SidebarMenu>
</SidebarHeader>
<SidebarContent>
<NavMain items={data.navMain} />
<NavProjects projects={data.projects} />
<NavSecondary items={data.navSecondary} className="mt-auto" />
</SidebarContent>
<SidebarFooter>
<NavUser user={data.user} />
</SidebarFooter>
</Sidebar>
)
}
Domain
Subdomains
Source
Frequently Asked Questions
What does AppSidebar() do?
AppSidebar() is a function in the ui codebase, defined in deprecated/www/registry/new-york/blocks/sidebar-08/components/app-sidebar.tsx.
Where is AppSidebar() defined?
AppSidebar() is defined in deprecated/www/registry/new-york/blocks/sidebar-08/components/app-sidebar.tsx at line 155.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free