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

File tsx ComponentRegistry ChartRegistry 4 imports 2 functions

Entity Profile

Dependency Diagram

graph LR
  8a7af097_3c6c_da1e_6371_fc1689b2c73a["app-sidebar.tsx"]
  1d141819_425e_b5fd_4c8e_32f7c6a42cf2["react"]
  8a7af097_3c6c_da1e_6371_fc1689b2c73a --> 1d141819_425e_b5fd_4c8e_32f7c6a42cf2
  d39cd1e4_1b2d_9aa2_1d29_fd0b4bfb61c3["lucide-react"]
  8a7af097_3c6c_da1e_6371_fc1689b2c73a --> d39cd1e4_1b2d_9aa2_1d29_fd0b4bfb61c3
  72adfc27_1b6f_cf8f_62c6_bf495c5c0910["collapsible"]
  8a7af097_3c6c_da1e_6371_fc1689b2c73a --> 72adfc27_1b6f_cf8f_62c6_bf495c5c0910
  12632a83_ef01_5f03_4110_ed33d49893b7["sidebar"]
  8a7af097_3c6c_da1e_6371_fc1689b2c73a --> 12632a83_ef01_5f03_4110_ed33d49893b7
  style 8a7af097_3c6c_da1e_6371_fc1689b2c73a fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

import * as React from "react"
import { ChevronRight, File, Folder } from "lucide-react"

import {
  Collapsible,
  CollapsibleContent,
  CollapsibleTrigger,
} from "@/registry/new-york-v4/ui/collapsible"
import {
  Sidebar,
  SidebarContent,
  SidebarGroup,
  SidebarGroupContent,
  SidebarGroupLabel,
  SidebarMenu,
  SidebarMenuBadge,
  SidebarMenuButton,
  SidebarMenuItem,
  SidebarMenuSub,
  SidebarRail,
} from "@/registry/new-york-v4/ui/sidebar"

// This is sample data.
const data = {
  changes: [
    {
      file: "README.md",
      state: "M",
    },
    {
      file: "api/hello/route.ts",
      state: "U",
    },
    {
      file: "app/layout.tsx",
      state: "M",
    },
  ],
  tree: [
    [
      "app",
      [
        "api",
        ["hello", ["route.ts"]],
        "page.tsx",
        "layout.tsx",
        ["blog", ["page.tsx"]],
      ],
    ],
    [
      "components",
      ["ui", "button.tsx", "card.tsx"],
      "header.tsx",
      "footer.tsx",
    ],
    ["lib", ["util.ts"]],
    ["public", "favicon.ico", "vercel.svg"],
    ".eslintrc.json",
    ".gitignore",
    "next.config.js",
// ... (84 more lines)

Subdomains

Functions

Types

Dependencies

  • collapsible
  • lucide-react
  • react
  • sidebar

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 2 function(s): AppSidebar, Tree.
What does app-sidebar.tsx depend on?
app-sidebar.tsx imports 4 module(s): collapsible, lucide-react, react, sidebar.
Where is app-sidebar.tsx in the architecture?
app-sidebar.tsx is located at apps/v4/registry/new-york-v4/blocks/sidebar-11/components/app-sidebar.tsx (domain: ComponentRegistry, subdomain: ChartRegistry, directory: apps/v4/registry/new-york-v4/blocks/sidebar-11/components).

Analyze Your Own Codebase

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

Try Supermodel Free