Home / File/ app-sidebar.tsx — ui Source File

app-sidebar.tsx — ui Source File

Architecture documentation for app-sidebar.tsx, a tsx file in the ui codebase. 6 imports, 0 dependents.

File tsx ComponentRegistry ChartRegistry 6 imports 1 functions

Entity Profile

Dependency Diagram

graph LR
  9a40bf05_4fbd_fc74_fd06_09078d5900e3["app-sidebar.tsx"]
  1d141819_425e_b5fd_4c8e_32f7c6a42cf2["react"]
  9a40bf05_4fbd_fc74_fd06_09078d5900e3 --> 1d141819_425e_b5fd_4c8e_32f7c6a42cf2
  d39cd1e4_1b2d_9aa2_1d29_fd0b4bfb61c3["lucide-react"]
  9a40bf05_4fbd_fc74_fd06_09078d5900e3 --> d39cd1e4_1b2d_9aa2_1d29_fd0b4bfb61c3
  675f28a1_43a5_8434_996c_a0944ede07fe["nav-user"]
  9a40bf05_4fbd_fc74_fd06_09078d5900e3 --> 675f28a1_43a5_8434_996c_a0944ede07fe
  d752035b_6ed3_c6ef_e27c_eef51af9ec8d["label"]
  9a40bf05_4fbd_fc74_fd06_09078d5900e3 --> d752035b_6ed3_c6ef_e27c_eef51af9ec8d
  12632a83_ef01_5f03_4110_ed33d49893b7["sidebar"]
  9a40bf05_4fbd_fc74_fd06_09078d5900e3 --> 12632a83_ef01_5f03_4110_ed33d49893b7
  38ebb3c2_9638_6c9d_8ced_a16ec1ff06c9["switch"]
  9a40bf05_4fbd_fc74_fd06_09078d5900e3 --> 38ebb3c2_9638_6c9d_8ced_a16ec1ff06c9
  style 9a40bf05_4fbd_fc74_fd06_09078d5900e3 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/new-york-v4/blocks/sidebar-09/components/nav-user"
import { Label } from "@/registry/new-york-v4/ui/label"
import {
  Sidebar,
  SidebarContent,
  SidebarFooter,
  SidebarGroup,
  SidebarGroupContent,
  SidebarHeader,
  SidebarInput,
  SidebarMenu,
  SidebarMenuButton,
  SidebarMenuItem,
  useSidebar,
} from "@/registry/new-york-v4/ui/sidebar"
import { Switch } from "@/registry/new-york-v4/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)

Subdomains

Functions

Dependencies

  • label
  • lucide-react
  • nav-user
  • react
  • sidebar
  • switch

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 apps/v4/registry/new-york-v4/blocks/sidebar-09/components/app-sidebar.tsx (domain: ComponentRegistry, subdomain: ChartRegistry, directory: apps/v4/registry/new-york-v4/blocks/sidebar-09/components).

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free