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 b50ee969_34a3_06d0_e1d3_c89919744e6a["app-sidebar.tsx"] 1d141819_425e_b5fd_4c8e_32f7c6a42cf2["react"] b50ee969_34a3_06d0_e1d3_c89919744e6a --> 1d141819_425e_b5fd_4c8e_32f7c6a42cf2 9bc202a3_c15d_eaef_f2e7_98d1078ff24e["nav-favorites"] b50ee969_34a3_06d0_e1d3_c89919744e6a --> 9bc202a3_c15d_eaef_f2e7_98d1078ff24e 91730996_ea64_9756_4c38_5349fe466046["nav-main"] b50ee969_34a3_06d0_e1d3_c89919744e6a --> 91730996_ea64_9756_4c38_5349fe466046 68d01e67_7de4_96ea_a0e7_92d5dc0c871a["nav-secondary"] b50ee969_34a3_06d0_e1d3_c89919744e6a --> 68d01e67_7de4_96ea_a0e7_92d5dc0c871a 301cee04_5001_4083_6d82_3c8b736e41ea["nav-workspaces"] b50ee969_34a3_06d0_e1d3_c89919744e6a --> 301cee04_5001_4083_6d82_3c8b736e41ea c39098e8_ed7e_c83d_d477_3311557a3dca["team-switcher"] b50ee969_34a3_06d0_e1d3_c89919744e6a --> c39098e8_ed7e_c83d_d477_3311557a3dca 1fee781a_1910_afaa_bb29_21305eb0ae61["sidebar"] b50ee969_34a3_06d0_e1d3_c89919744e6a --> 1fee781a_1910_afaa_bb29_21305eb0ae61 de6fac54_74ca_6c25_8f8b_d1ba3287dbf2["icon-placeholder"] b50ee969_34a3_06d0_e1d3_c89919744e6a --> de6fac54_74ca_6c25_8f8b_d1ba3287dbf2 style b50ee969_34a3_06d0_e1d3_c89919744e6a fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
"use client"
import * as React from "react"
import { NavFavorites } from "@/registry/bases/radix/blocks/sidebar-10/components/nav-favorites"
import { NavMain } from "@/registry/bases/radix/blocks/sidebar-10/components/nav-main"
import { NavSecondary } from "@/registry/bases/radix/blocks/sidebar-10/components/nav-secondary"
import { NavWorkspaces } from "@/registry/bases/radix/blocks/sidebar-10/components/nav-workspaces"
import { TeamSwitcher } from "@/registry/bases/radix/blocks/sidebar-10/components/team-switcher"
import {
Sidebar,
SidebarContent,
SidebarHeader,
SidebarRail,
} from "@/registry/bases/radix/ui/sidebar"
import { IconPlaceholder } from "@/app/(create)/components/icon-placeholder"
// This is sample data.
const data = {
teams: [
{
name: "Acme Inc",
logo: (
<IconPlaceholder
lucide="TerminalIcon"
tabler="IconCommand"
hugeicons="CommandIcon"
phosphor="CommandIcon"
remixicon="RiCommandLine"
/>
),
plan: "Enterprise",
},
{
name: "Acme Corp.",
logo: (
<IconPlaceholder
lucide="AudioLinesIcon"
tabler="IconWaveSine"
hugeicons="AudioWave01Icon"
phosphor="WaveformIcon"
remixicon="RiPulseLine"
/>
),
plan: "Startup",
},
{
name: "Evil Corp.",
logo: (
<IconPlaceholder
lucide="TerminalIcon"
tabler="IconCommand"
hugeicons="CommandIcon"
phosphor="CommandIcon"
remixicon="RiCommandLine"
/>
),
plan: "Free",
},
],
// ... (301 more lines)
Domain
Subdomains
Functions
Dependencies
- icon-placeholder
- nav-favorites
- nav-main
- nav-secondary
- nav-workspaces
- react
- sidebar
- team-switcher
Source
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): icon-placeholder, 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 apps/v4/registry/bases/radix/blocks/sidebar-10/components/app-sidebar.tsx (domain: ComponentRegistry, subdomain: ChartRegistry, directory: apps/v4/registry/bases/radix/blocks/sidebar-10/components).
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free