nav-secondary.tsx — ui Source File
Architecture documentation for nav-secondary.tsx, a tsx file in the ui codebase. 3 imports, 0 dependents.
Entity Profile
Dependency Diagram
graph LR 8c01fb9e_0043_225e_37f5_0f4611b3c854["nav-secondary.tsx"] 1d141819_425e_b5fd_4c8e_32f7c6a42cf2["react"] 8c01fb9e_0043_225e_37f5_0f4611b3c854 --> 1d141819_425e_b5fd_4c8e_32f7c6a42cf2 d39cd1e4_1b2d_9aa2_1d29_fd0b4bfb61c3["lucide-react"] 8c01fb9e_0043_225e_37f5_0f4611b3c854 --> d39cd1e4_1b2d_9aa2_1d29_fd0b4bfb61c3 6ff5c02b_2b25_4633_4ccd_fd28f2f55862["sidebar"] 8c01fb9e_0043_225e_37f5_0f4611b3c854 --> 6ff5c02b_2b25_4633_4ccd_fd28f2f55862 style 8c01fb9e_0043_225e_37f5_0f4611b3c854 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
"use client"
import * as React from "react"
import { LucideIcon } from "lucide-react"
import {
SidebarGroup,
SidebarGroupContent,
SidebarMenu,
SidebarMenuButton,
SidebarMenuItem,
} from "@/registry/new-york/ui/sidebar"
export function NavSecondary({
items,
...props
}: {
items: {
title: string
url: string
icon: LucideIcon
}[]
} & React.ComponentPropsWithoutRef<typeof SidebarGroup>) {
return (
<SidebarGroup {...props}>
<SidebarGroupContent>
<SidebarMenu>
{items.map((item) => (
<SidebarMenuItem key={item.title}>
<SidebarMenuButton asChild>
<a href={item.url}>
<item.icon />
<span>{item.title}</span>
</a>
</SidebarMenuButton>
</SidebarMenuItem>
))}
</SidebarMenu>
</SidebarGroupContent>
</SidebarGroup>
)
}
Domain
Subdomains
Functions
Dependencies
- lucide-react
- react
- sidebar
Source
Frequently Asked Questions
What does nav-secondary.tsx do?
nav-secondary.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 nav-secondary.tsx?
nav-secondary.tsx defines 1 function(s): NavSecondary.
What does nav-secondary.tsx depend on?
nav-secondary.tsx imports 3 module(s): lucide-react, react, sidebar.
Where is nav-secondary.tsx in the architecture?
nav-secondary.tsx is located at deprecated/www/registry/new-york/blocks/dashboard-01/components/nav-secondary.tsx (domain: ComponentRegistry, subdomain: ChartRegistry, directory: deprecated/www/registry/new-york/blocks/dashboard-01/components).
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free