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 db8f3f62_27b5_d246_881a_f13f415a3728["sidebar-footer.tsx"] d39cd1e4_1b2d_9aa2_1d29_fd0b4bfb61c3["lucide-react"] db8f3f62_27b5_d246_881a_f13f415a3728 --> d39cd1e4_1b2d_9aa2_1d29_fd0b4bfb61c3 d1cb37f2_0d1d_01bc_0d60_a15219afac51["dropdown-menu"] db8f3f62_27b5_d246_881a_f13f415a3728 --> d1cb37f2_0d1d_01bc_0d60_a15219afac51 12632a83_ef01_5f03_4110_ed33d49893b7["sidebar"] db8f3f62_27b5_d246_881a_f13f415a3728 --> 12632a83_ef01_5f03_4110_ed33d49893b7 style db8f3f62_27b5_d246_881a_f13f415a3728 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
"use client"
import { ChevronUpIcon } from "lucide-react"
import {
DropdownMenu,
DropdownMenuContent,
DropdownMenuItem,
DropdownMenuTrigger,
} from "@/registry/new-york-v4/ui/dropdown-menu"
import {
Sidebar,
SidebarContent,
SidebarFooter,
SidebarHeader,
SidebarInset,
SidebarMenu,
SidebarMenuButton,
SidebarMenuItem,
SidebarProvider,
SidebarTrigger,
} from "@/registry/new-york-v4/ui/sidebar"
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 ComponentRegistry domain, ChartRegistry 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/registry/new-york-v4/internal/sidebar-footer.tsx (domain: ComponentRegistry, subdomain: ChartRegistry, directory: apps/v4/registry/new-york-v4/internal).
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free