AppSidebar() — ui Function Reference
Architecture documentation for the AppSidebar() function in app-sidebar.tsx from the ui codebase.
Entity Profile
Dependency Diagram
graph TD 6438849e_2d77_da35_3e7c_360b878c5a02["AppSidebar()"] 46b675ca_ca2b_5123_2784_ecbe8f4e938f["app-sidebar.tsx"] 6438849e_2d77_da35_3e7c_360b878c5a02 -->|defined in| 46b675ca_ca2b_5123_2784_ecbe8f4e938f style 6438849e_2d77_da35_3e7c_360b878c5a02 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
apps/v4/registry/new-york-v4/blocks/sidebar-06/components/app-sidebar.tsx lines 148–179
export function AppSidebar({ ...props }: React.ComponentProps<typeof Sidebar>) {
return (
<Sidebar {...props}>
<SidebarHeader>
<SidebarMenu>
<SidebarMenuItem>
<SidebarMenuButton size="lg" asChild>
<a href="#">
<div className="bg-sidebar-primary text-sidebar-primary-foreground flex aspect-square size-8 items-center justify-center rounded-lg">
<GalleryVerticalEnd className="size-4" />
</div>
<div className="flex flex-col gap-0.5 leading-none">
<span className="font-medium">Documentation</span>
<span className="">v1.0.0</span>
</div>
</a>
</SidebarMenuButton>
</SidebarMenuItem>
</SidebarMenu>
</SidebarHeader>
<SidebarContent>
<NavMain items={data.navMain} />
</SidebarContent>
<SidebarFooter>
<div className="p-1">
<SidebarOptInForm />
</div>
</SidebarFooter>
<SidebarRail />
</Sidebar>
)
}
Domain
Subdomains
Source
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-06/components/app-sidebar.tsx.
Where is AppSidebar() defined?
AppSidebar() is defined in apps/v4/registry/new-york-v4/blocks/sidebar-06/components/app-sidebar.tsx at line 148.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free