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
  89e7012e_65e5_97e1_d2bd_f89696821045["app-sidebar.tsx"]
  1d141819_425e_b5fd_4c8e_32f7c6a42cf2["react"]
  89e7012e_65e5_97e1_d2bd_f89696821045 --> 1d141819_425e_b5fd_4c8e_32f7c6a42cf2
  d39cd1e4_1b2d_9aa2_1d29_fd0b4bfb61c3["lucide-react"]
  89e7012e_65e5_97e1_d2bd_f89696821045 --> d39cd1e4_1b2d_9aa2_1d29_fd0b4bfb61c3
  56270caa_bda3_78c7_90e4_07325caf7ad6["nav-user"]
  89e7012e_65e5_97e1_d2bd_f89696821045 --> 56270caa_bda3_78c7_90e4_07325caf7ad6
  fa665cdb_5f79_b81a_95ab_12ba182fc175["label"]
  89e7012e_65e5_97e1_d2bd_f89696821045 --> fa665cdb_5f79_b81a_95ab_12ba182fc175
  6ff5c02b_2b25_4633_4ccd_fd28f2f55862["sidebar"]
  89e7012e_65e5_97e1_d2bd_f89696821045 --> 6ff5c02b_2b25_4633_4ccd_fd28f2f55862
  792bdb4b_081b_acca_8721_dff659e00c59["switch"]
  89e7012e_65e5_97e1_d2bd_f89696821045 --> 792bdb4b_081b_acca_8721_dff659e00c59
  style 89e7012e_65e5_97e1_d2bd_f89696821045 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/blocks/sidebar-09/components/nav-user"
import { Label } from "@/registry/new-york/ui/label"
import {
  Sidebar,
  SidebarContent,
  SidebarFooter,
  SidebarGroup,
  SidebarGroupContent,
  SidebarHeader,
  SidebarInput,
  SidebarMenu,
  SidebarMenuButton,
  SidebarMenuItem,
  useSidebar,
} from "@/registry/new-york/ui/sidebar"
import { Switch } from "@/registry/new-york/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 deprecated/www/registry/new-york/blocks/sidebar-09/components/app-sidebar.tsx (domain: ComponentRegistry, subdomain: ChartRegistry, directory: deprecated/www/registry/new-york/blocks/sidebar-09/components).

Analyze Your Own Codebase

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

Try Supermodel Free