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

File tsx ComponentRegistry ChartRegistry 8 imports 1 functions

Entity Profile

Dependency Diagram

graph LR
  eb44d6c6_385b_c102_6e3f_1ee2795acf2e["app-sidebar.tsx"]
  1d141819_425e_b5fd_4c8e_32f7c6a42cf2["react"]
  eb44d6c6_385b_c102_6e3f_1ee2795acf2e --> 1d141819_425e_b5fd_4c8e_32f7c6a42cf2
  d39cd1e4_1b2d_9aa2_1d29_fd0b4bfb61c3["lucide-react"]
  eb44d6c6_385b_c102_6e3f_1ee2795acf2e --> d39cd1e4_1b2d_9aa2_1d29_fd0b4bfb61c3
  98a4dbe5_3a9b_f9e8_314f_d5ba5a473341["nav-favorites"]
  eb44d6c6_385b_c102_6e3f_1ee2795acf2e --> 98a4dbe5_3a9b_f9e8_314f_d5ba5a473341
  3b1eafc4_3d08_3d41_3c59_58f70e303c23["nav-main"]
  eb44d6c6_385b_c102_6e3f_1ee2795acf2e --> 3b1eafc4_3d08_3d41_3c59_58f70e303c23
  a79093cd_04bc_c4a2_ac02_76c7a4aafc20["nav-secondary"]
  eb44d6c6_385b_c102_6e3f_1ee2795acf2e --> a79093cd_04bc_c4a2_ac02_76c7a4aafc20
  692e1f56_ca47_3522_cfe8_a49cc8fa924c["nav-workspaces"]
  eb44d6c6_385b_c102_6e3f_1ee2795acf2e --> 692e1f56_ca47_3522_cfe8_a49cc8fa924c
  5b06550c_4fd5_39d2_1ab4_939c5e9955c4["team-switcher"]
  eb44d6c6_385b_c102_6e3f_1ee2795acf2e --> 5b06550c_4fd5_39d2_1ab4_939c5e9955c4
  6ff5c02b_2b25_4633_4ccd_fd28f2f55862["sidebar"]
  eb44d6c6_385b_c102_6e3f_1ee2795acf2e --> 6ff5c02b_2b25_4633_4ccd_fd28f2f55862
  style eb44d6c6_385b_c102_6e3f_1ee2795acf2e fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

"use client"

import * as React from "react"
import {
  AudioWaveform,
  Blocks,
  Calendar,
  Command,
  Home,
  Inbox,
  MessageCircleQuestion,
  Search,
  Settings2,
  Sparkles,
  Trash2,
} from "lucide-react"

import { NavFavorites } from "@/registry/new-york/blocks/sidebar-10/components/nav-favorites"
import { NavMain } from "@/registry/new-york/blocks/sidebar-10/components/nav-main"
import { NavSecondary } from "@/registry/new-york/blocks/sidebar-10/components/nav-secondary"
import { NavWorkspaces } from "@/registry/new-york/blocks/sidebar-10/components/nav-workspaces"
import { TeamSwitcher } from "@/registry/new-york/blocks/sidebar-10/components/team-switcher"
import {
  Sidebar,
  SidebarContent,
  SidebarHeader,
  SidebarRail,
} from "@/registry/new-york/ui/sidebar"

// This is sample data.
const data = {
  teams: [
    {
      name: "Acme Inc",
      logo: Command,
      plan: "Enterprise",
    },
    {
      name: "Acme Corp.",
      logo: AudioWaveform,
      plan: "Startup",
    },
    {
      name: "Evil Corp.",
      logo: Command,
      plan: "Free",
    },
  ],
  navMain: [
    {
      title: "Search",
      url: "#",
      icon: Search,
    },
    {
      title: "Ask AI",
      url: "#",
      icon: Sparkles,
    },
    {
// ... (217 more lines)

Subdomains

Functions

Dependencies

  • lucide-react
  • nav-favorites
  • nav-main
  • nav-secondary
  • nav-workspaces
  • 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 8 module(s): lucide-react, nav-favorites, nav-main, nav-secondary, nav-workspaces, react, sidebar, team-switcher.
Where is app-sidebar.tsx in the architecture?
app-sidebar.tsx is located at deprecated/www/registry/new-york/blocks/sidebar-10/components/app-sidebar.tsx (domain: ComponentRegistry, subdomain: ChartRegistry, directory: deprecated/www/registry/new-york/blocks/sidebar-10/components).

Analyze Your Own Codebase

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

Try Supermodel Free