app-sidebar.tsx — ui Source File
Architecture documentation for app-sidebar.tsx, a tsx file in the ui codebase. 12 imports, 0 dependents.
Entity Profile
Dependency Diagram
graph LR f589898d_1173_bd72_2f54_9ab540b591d3["app-sidebar.tsx"] 1d141819_425e_b5fd_4c8e_32f7c6a42cf2["react"] f589898d_1173_bd72_2f54_9ab540b591d3 --> 1d141819_425e_b5fd_4c8e_32f7c6a42cf2 ba3d44f3_7b34_f9cc_6283_44817785c0df["link"] f589898d_1173_bd72_2f54_9ab540b591d3 --> ba3d44f3_7b34_f9cc_6283_44817785c0df f5b0b1d9_de2f_9c31_0bcd_4adbd07581cb["navigation"] f589898d_1173_bd72_2f54_9ab540b591d3 --> f5b0b1d9_de2f_9c31_0bcd_4adbd07581cb d39cd1e4_1b2d_9aa2_1d29_fd0b4bfb61c3["lucide-react"] f589898d_1173_bd72_2f54_9ab540b591d3 --> d39cd1e4_1b2d_9aa2_1d29_fd0b4bfb61c3 3760d05c_9abb_8921_1a30_9996e59e5714["__index__"] f589898d_1173_bd72_2f54_9ab540b591d3 --> 3760d05c_9abb_8921_1a30_9996e59e5714 d768a960_d305_2ae0_b70d_f974816b7ba2["nav-user"] f589898d_1173_bd72_2f54_9ab540b591d3 --> d768a960_d305_2ae0_b70d_f974816b7ba2 b5124f46_b0a4_a021_81a5_f7888b647acc["team-switcher"] f589898d_1173_bd72_2f54_9ab540b591d3 --> b5124f46_b0a4_a021_81a5_f7888b647acc 72adfc27_1b6f_cf8f_62c6_bf495c5c0910["collapsible"] f589898d_1173_bd72_2f54_9ab540b591d3 --> 72adfc27_1b6f_cf8f_62c6_bf495c5c0910 41df1c2c_a3b4_dc22_8bc9_310fe8b6ba9b["input-group"] f589898d_1173_bd72_2f54_9ab540b591d3 --> 41df1c2c_a3b4_dc22_8bc9_310fe8b6ba9b d752035b_6ed3_c6ef_e27c_eef51af9ec8d["label"] f589898d_1173_bd72_2f54_9ab540b591d3 --> d752035b_6ed3_c6ef_e27c_eef51af9ec8d 12632a83_ef01_5f03_4110_ed33d49893b7["sidebar"] f589898d_1173_bd72_2f54_9ab540b591d3 --> 12632a83_ef01_5f03_4110_ed33d49893b7 21e41673_6adc_dc40_151c_93e557507255["component-registry"] f589898d_1173_bd72_2f54_9ab540b591d3 --> 21e41673_6adc_dc40_151c_93e557507255 style f589898d_1173_bd72_2f54_9ab540b591d3 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
"use client"
import * as React from "react"
import Link from "next/link"
import { usePathname } from "next/navigation"
import {
AudioWaveform,
BookOpen,
Bot,
ChevronRightIcon,
Command,
GalleryVerticalEnd,
SearchIcon,
Settings2,
SquareTerminal,
} from "lucide-react"
import { Index } from "@/registry/__index__"
import { NavUser } from "@/registry/new-york-v4/blocks/sidebar-07/components/nav-user"
import { TeamSwitcher } from "@/registry/new-york-v4/blocks/sidebar-07/components/team-switcher"
import {
Collapsible,
CollapsibleContent,
CollapsibleTrigger,
} from "@/registry/new-york-v4/ui/collapsible"
import {
InputGroup,
InputGroupAddon,
InputGroupInput,
} from "@/registry/new-york-v4/ui/input-group"
import { Label } from "@/registry/new-york-v4/ui/label"
import {
Sidebar,
SidebarContent,
SidebarFooter,
SidebarGroup,
SidebarGroupContent,
SidebarGroupLabel,
SidebarHeader,
SidebarMenu,
SidebarMenuButton,
SidebarMenuItem,
SidebarMenuSub,
SidebarMenuSubButton,
SidebarMenuSubItem,
SidebarRail,
} from "@/registry/new-york-v4/ui/sidebar"
import { componentRegistry } from "@/app/(internal)/sink/component-registry"
// This is sample data.
const data = {
user: {
name: "shadcn",
email: "m@example.com",
avatar: "/avatars/shadcn.jpg",
},
teams: [
{
name: "Acme Inc",
logo: GalleryVerticalEnd,
// ... (238 more lines)
Domain
Subdomains
Functions
Dependencies
- __index__
- collapsible
- component-registry
- input-group
- label
- link
- lucide-react
- nav-user
- navigation
- react
- sidebar
- team-switcher
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 DocumentationAtlas domain, Changelog 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 12 module(s): __index__, collapsible, component-registry, input-group, label, link, lucide-react, nav-user, and 4 more.
Where is app-sidebar.tsx in the architecture?
app-sidebar.tsx is located at apps/v4/app/(internal)/sink/components/app-sidebar.tsx (domain: DocumentationAtlas, subdomain: Changelog, directory: apps/v4/app/(internal)/sink/components).
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free