sidebar-footer.tsx — ui Source File
Architecture documentation for sidebar-footer.tsx, a tsx file in the ui codebase. 3 imports, 0 dependents.
Entity Profile
Dependency Diagram
graph LR 9d85c321_642a_342e_3d2f_eeb86ab0088d["sidebar-footer.tsx"] c4660ec2_c67c_8de8_aea3_ab3bf7989b6f["dropdown-menu"] 9d85c321_642a_342e_3d2f_eeb86ab0088d --> c4660ec2_c67c_8de8_aea3_ab3bf7989b6f 40190c4f_9641_df4b_7a22_e87f02982369["sidebar"] 9d85c321_642a_342e_3d2f_eeb86ab0088d --> 40190c4f_9641_df4b_7a22_e87f02982369 d39cd1e4_1b2d_9aa2_1d29_fd0b4bfb61c3["lucide-react"] 9d85c321_642a_342e_3d2f_eeb86ab0088d --> d39cd1e4_1b2d_9aa2_1d29_fd0b4bfb61c3 style 9d85c321_642a_342e_3d2f_eeb86ab0088d fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
"use client"
import {
DropdownMenu,
DropdownMenuContent,
DropdownMenuItem,
DropdownMenuTrigger,
} from "@/examples/radix/ui/dropdown-menu"
import {
Sidebar,
SidebarContent,
SidebarFooter,
SidebarHeader,
SidebarInset,
SidebarMenu,
SidebarMenuButton,
SidebarMenuItem,
SidebarProvider,
SidebarTrigger,
} from "@/examples/radix/ui/sidebar"
import { ChevronUpIcon } from "lucide-react"
export default function AppSidebar() {
return (
<SidebarProvider>
<Sidebar>
<SidebarHeader />
<SidebarContent />
<SidebarFooter>
<SidebarMenu>
<SidebarMenuItem>
<DropdownMenu>
<DropdownMenuTrigger asChild>
<SidebarMenuButton className="data-[state=open]:bg-sidebar-accent data-[state=open]:text-sidebar-accent-foreground">
Username
<ChevronUpIcon className="ml-auto" />
</SidebarMenuButton>
</DropdownMenuTrigger>
<DropdownMenuContent
side="top"
className="w-(--radix-popper-anchor-width)"
>
<DropdownMenuItem>
<span>Account</span>
</DropdownMenuItem>
<DropdownMenuItem>
<span>Billing</span>
</DropdownMenuItem>
<DropdownMenuItem>
<span>Sign out</span>
</DropdownMenuItem>
</DropdownMenuContent>
</DropdownMenu>
</SidebarMenuItem>
</SidebarMenu>
</SidebarFooter>
</Sidebar>
<SidebarInset>
<header className="flex h-12 items-center justify-between px-4">
<SidebarTrigger />
</header>
</SidebarInset>
</SidebarProvider>
)
}
Domain
Subdomains
Functions
Dependencies
- dropdown-menu
- lucide-react
- sidebar
Source
Frequently Asked Questions
What does sidebar-footer.tsx do?
sidebar-footer.tsx is a source file in the ui codebase, written in tsx. It belongs to the DocumentationAtlas domain, Changelog subdomain.
What functions are defined in sidebar-footer.tsx?
sidebar-footer.tsx defines 1 function(s): AppSidebar.
What does sidebar-footer.tsx depend on?
sidebar-footer.tsx imports 3 module(s): dropdown-menu, lucide-react, sidebar.
Where is sidebar-footer.tsx in the architecture?
sidebar-footer.tsx is located at apps/v4/examples/radix/sidebar-footer.tsx (domain: DocumentationAtlas, subdomain: Changelog, directory: apps/v4/examples/radix).
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free