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. 7 imports, 0 dependents.

File tsx ComponentRegistry ChartRegistry 7 imports 1 functions

Entity Profile

Dependency Diagram

graph LR
  a82b1f65_4d0e_4e22_41e6_2621a19a5cf0["app-sidebar.tsx"]
  1d141819_425e_b5fd_4c8e_32f7c6a42cf2["react"]
  a82b1f65_4d0e_4e22_41e6_2621a19a5cf0 --> 1d141819_425e_b5fd_4c8e_32f7c6a42cf2
  d39cd1e4_1b2d_9aa2_1d29_fd0b4bfb61c3["lucide-react"]
  a82b1f65_4d0e_4e22_41e6_2621a19a5cf0 --> d39cd1e4_1b2d_9aa2_1d29_fd0b4bfb61c3
  00932ad3_c75e_dce4_4f66_9fe2d71a82ce["nav-main"]
  a82b1f65_4d0e_4e22_41e6_2621a19a5cf0 --> 00932ad3_c75e_dce4_4f66_9fe2d71a82ce
  898baca7_2611_6ee9_c3b4_22c48070dc7b["nav-projects"]
  a82b1f65_4d0e_4e22_41e6_2621a19a5cf0 --> 898baca7_2611_6ee9_c3b4_22c48070dc7b
  d768a960_d305_2ae0_b70d_f974816b7ba2["nav-user"]
  a82b1f65_4d0e_4e22_41e6_2621a19a5cf0 --> d768a960_d305_2ae0_b70d_f974816b7ba2
  b5124f46_b0a4_a021_81a5_f7888b647acc["team-switcher"]
  a82b1f65_4d0e_4e22_41e6_2621a19a5cf0 --> b5124f46_b0a4_a021_81a5_f7888b647acc
  12632a83_ef01_5f03_4110_ed33d49893b7["sidebar"]
  a82b1f65_4d0e_4e22_41e6_2621a19a5cf0 --> 12632a83_ef01_5f03_4110_ed33d49893b7
  style a82b1f65_4d0e_4e22_41e6_2621a19a5cf0 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

"use client"

import * as React from "react"
import {
  AudioWaveform,
  BookOpen,
  Bot,
  Command,
  Frame,
  GalleryVerticalEnd,
  Map,
  PieChart,
  Settings2,
  SquareTerminal,
} from "lucide-react"

import { NavMain } from "@/registry/new-york-v4/blocks/sidebar-07/components/nav-main"
import { NavProjects } from "@/registry/new-york-v4/blocks/sidebar-07/components/nav-projects"
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 {
  Sidebar,
  SidebarContent,
  SidebarFooter,
  SidebarHeader,
  SidebarRail,
} from "@/registry/new-york-v4/ui/sidebar"

// This is sample data.
const data = {
  user: {
    name: "shadcn",
    email: "m@example.com",
    avatar: "/avatars/shadcn.jpg",
  },
  teams: [
    {
      name: "Acme Inc",
      logo: GalleryVerticalEnd,
      plan: "Enterprise",
    },
    {
      name: "Acme Corp.",
      logo: AudioWaveform,
      plan: "Startup",
    },
    {
      name: "Evil Corp.",
      logo: Command,
      plan: "Free",
    },
  ],
  navMain: [
    {
      title: "Playground",
      url: "#",
      icon: SquareTerminal,
      isActive: true,
      items: [
        {
// ... (116 more lines)

Subdomains

Functions

Dependencies

  • lucide-react
  • nav-main
  • nav-projects
  • nav-user
  • react
  • sidebar
  • team-switcher

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 7 module(s): lucide-react, nav-main, nav-projects, nav-user, react, sidebar, team-switcher.
Where is app-sidebar.tsx in the architecture?
app-sidebar.tsx is located at apps/v4/registry/new-york-v4/blocks/sidebar-07/components/app-sidebar.tsx (domain: ComponentRegistry, subdomain: ChartRegistry, directory: apps/v4/registry/new-york-v4/blocks/sidebar-07/components).

Analyze Your Own Codebase

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

Try Supermodel Free