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.

Entity Profile

Dependency Diagram

graph LR
  5dc222a3_cb6b_992e_d029_5f82ecf76bec["app-sidebar.tsx"]
  1d141819_425e_b5fd_4c8e_32f7c6a42cf2["react"]
  5dc222a3_cb6b_992e_d029_5f82ecf76bec --> 1d141819_425e_b5fd_4c8e_32f7c6a42cf2
  ba3d44f3_7b34_f9cc_6283_44817785c0df["link"]
  5dc222a3_cb6b_992e_d029_5f82ecf76bec --> ba3d44f3_7b34_f9cc_6283_44817785c0df
  39a0d62e_8e7d_d097_eb95_91d2bca361f7["icons-react"]
  5dc222a3_cb6b_992e_d029_5f82ecf76bec --> 39a0d62e_8e7d_d097_eb95_91d2bca361f7
  12632a83_ef01_5f03_4110_ed33d49893b7["sidebar"]
  5dc222a3_cb6b_992e_d029_5f82ecf76bec --> 12632a83_ef01_5f03_4110_ed33d49893b7
  bde1a173_b0d9_bcdf_43ab_6b819c1d7221["nav-documents"]
  5dc222a3_cb6b_992e_d029_5f82ecf76bec --> bde1a173_b0d9_bcdf_43ab_6b819c1d7221
  630d0cf3_aab6_993e_73e5_2c7ada400d54["nav-main"]
  5dc222a3_cb6b_992e_d029_5f82ecf76bec --> 630d0cf3_aab6_993e_73e5_2c7ada400d54
  44178409_89f6_796d_7c8a_b187a277b848["nav-secondary"]
  5dc222a3_cb6b_992e_d029_5f82ecf76bec --> 44178409_89f6_796d_7c8a_b187a277b848
  93987c92_c530_ebf6_5374_359bbe201bc2["nav-user"]
  5dc222a3_cb6b_992e_d029_5f82ecf76bec --> 93987c92_c530_ebf6_5374_359bbe201bc2
  style 5dc222a3_cb6b_992e_d029_5f82ecf76bec fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

"use client"

import * as React from "react"
import Link from "next/link"
import {
  IconCamera,
  IconChartBar,
  IconDashboard,
  IconDatabase,
  IconFileAi,
  IconFileDescription,
  IconFileWord,
  IconFolder,
  IconHelp,
  IconInnerShadowTop,
  IconListDetails,
  IconReport,
  IconSearch,
  IconSettings,
  IconUsers,
} from "@tabler/icons-react"

import {
  Sidebar,
  SidebarContent,
  SidebarFooter,
  SidebarHeader,
  SidebarMenu,
  SidebarMenuButton,
  SidebarMenuItem,
} from "@/registry/new-york-v4/ui/sidebar"
import { NavDocuments } from "@/app/(app)/examples/dashboard/components/nav-documents"
import { NavMain } from "@/app/(app)/examples/dashboard/components/nav-main"
import { NavSecondary } from "@/app/(app)/examples/dashboard/components/nav-secondary"
import { NavUser } from "@/app/(app)/examples/dashboard/components/nav-user"

const data = {
  user: {
    name: "shadcn",
    email: "m@example.com",
    avatar: "/avatars/shadcn.jpg",
  },
  navMain: [
    {
      title: "Dashboard",
      url: "#",
      icon: IconDashboard,
    },
    {
      title: "Lifecycle",
      url: "#",
      icon: IconListDetails,
    },
    {
      title: "Analytics",
      url: "#",
      icon: IconChartBar,
    },
    {
      title: "Projects",
// ... (123 more lines)

Subdomains

Functions

Dependencies

  • icons-react
  • link
  • nav-documents
  • nav-main
  • nav-secondary
  • nav-user
  • 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 ApplicationExhibition domain, Authentication 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): icons-react, link, nav-documents, nav-main, nav-secondary, nav-user, react, sidebar.
Where is app-sidebar.tsx in the architecture?
app-sidebar.tsx is located at apps/v4/app/(app)/examples/dashboard/components/app-sidebar.tsx (domain: ApplicationExhibition, subdomain: Authentication, directory: apps/v4/app/(app)/examples/dashboard/components).

Analyze Your Own Codebase

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

Try Supermodel Free