app-sidebar.tsx — ui Source File
Architecture documentation for app-sidebar.tsx, a tsx file in the ui codebase. 6 imports, 0 dependents.
Entity Profile
Dependency Diagram
graph LR a246eb75_4046_08ef_e7fb_150abf48fb80["app-sidebar.tsx"] 1d141819_425e_b5fd_4c8e_32f7c6a42cf2["react"] a246eb75_4046_08ef_e7fb_150abf48fb80 --> 1d141819_425e_b5fd_4c8e_32f7c6a42cf2 d39cd1e4_1b2d_9aa2_1d29_fd0b4bfb61c3["lucide-react"] a246eb75_4046_08ef_e7fb_150abf48fb80 --> d39cd1e4_1b2d_9aa2_1d29_fd0b4bfb61c3 45f847d1_00ba_ca8a_428e_0e7c37a15be6["nav-user"] a246eb75_4046_08ef_e7fb_150abf48fb80 --> 45f847d1_00ba_ca8a_428e_0e7c37a15be6 f826d306_7d63_5ba3_6a53_387904d37a9f["label"] a246eb75_4046_08ef_e7fb_150abf48fb80 --> f826d306_7d63_5ba3_6a53_387904d37a9f 742f06fb_c1e8_243e_1fc4_8b1cf11704c2["sidebar"] a246eb75_4046_08ef_e7fb_150abf48fb80 --> 742f06fb_c1e8_243e_1fc4_8b1cf11704c2 0664484b_ca55_1267_592f_155e2df6f020["switch"] a246eb75_4046_08ef_e7fb_150abf48fb80 --> 0664484b_ca55_1267_592f_155e2df6f020 style a246eb75_4046_08ef_e7fb_150abf48fb80 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
"use client"
import * as React from "react"
import { ArchiveX, Command, File, Inbox, Send, Trash2 } from "lucide-react"
import { NavUser } from "@/registry/default/blocks/sidebar-09/components/nav-user"
import { Label } from "@/registry/default/ui/label"
import {
Sidebar,
SidebarContent,
SidebarFooter,
SidebarGroup,
SidebarGroupContent,
SidebarHeader,
SidebarInput,
SidebarMenu,
SidebarMenuButton,
SidebarMenuItem,
useSidebar,
} from "@/registry/default/ui/sidebar"
import { Switch } from "@/registry/default/ui/switch"
// This is sample data
const data = {
user: {
name: "shadcn",
email: "m@example.com",
avatar: "/avatars/shadcn.jpg",
},
navMain: [
{
title: "Inbox",
url: "#",
icon: Inbox,
isActive: true,
},
{
title: "Drafts",
url: "#",
icon: File,
isActive: false,
},
{
title: "Sent",
url: "#",
icon: Send,
isActive: false,
},
{
title: "Junk",
url: "#",
icon: ArchiveX,
isActive: false,
},
{
title: "Trash",
url: "#",
icon: Trash2,
isActive: false,
},
// ... (203 more lines)
Domain
Subdomains
Functions
Dependencies
- label
- lucide-react
- nav-user
- react
- sidebar
- switch
Source
Frequently Asked Questions
What does app-sidebar.tsx do?
app-sidebar.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 app-sidebar.tsx?
app-sidebar.tsx defines 1 function(s): AppSidebar.
What does app-sidebar.tsx depend on?
app-sidebar.tsx imports 6 module(s): label, lucide-react, nav-user, react, sidebar, switch.
Where is app-sidebar.tsx in the architecture?
app-sidebar.tsx is located at deprecated/www/registry/default/blocks/sidebar-09/components/app-sidebar.tsx (domain: ComponentRegistry, subdomain: ChartRegistry, directory: deprecated/www/registry/default/blocks/sidebar-09/components).
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free