AppSidebar() — ui Function Reference
Architecture documentation for the AppSidebar() function in app-sidebar.tsx from the ui codebase.
Entity Profile
Dependency Diagram
graph TD 868ec81e_83af_93bd_3d53_58793cb9ced1["AppSidebar()"] ae253ea7_c7c9_0809_8c83_f9df2fac8b88["app-sidebar.tsx"] 868ec81e_83af_93bd_3d53_58793cb9ced1 -->|defined in| ae253ea7_c7c9_0809_8c83_f9df2fac8b88 style 868ec81e_83af_93bd_3d53_58793cb9ced1 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
apps/v4/registry/bases/base/blocks/dashboard-01/components/app-sidebar.tsx lines 248–281
export function AppSidebar({ ...props }: React.ComponentProps<typeof Sidebar>) {
return (
<Sidebar collapsible="offcanvas" {...props}>
<SidebarHeader>
<SidebarMenu>
<SidebarMenuItem>
<SidebarMenuButton
className="data-[slot=sidebar-menu-button]:p-1.5!"
render={<a href="#" />}
>
<IconPlaceholder
lucide="CommandIcon"
tabler="IconInnerShadowTop"
hugeicons="CommandIcon"
phosphor="CommandIcon"
remixicon="RiCommandLine"
className="size-5!"
/>
<span className="text-base font-semibold">Acme Inc.</span>
</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>
)
}
Domain
Subdomains
Source
Frequently Asked Questions
What does AppSidebar() do?
AppSidebar() is a function in the ui codebase, defined in apps/v4/registry/bases/base/blocks/dashboard-01/components/app-sidebar.tsx.
Where is AppSidebar() defined?
AppSidebar() is defined in apps/v4/registry/bases/base/blocks/dashboard-01/components/app-sidebar.tsx at line 248.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free