NavSecondary() — ui Function Reference
Architecture documentation for the NavSecondary() function in nav-secondary.tsx from the ui codebase.
Entity Profile
Dependency Diagram
graph TD 6b624097_bb21_5817_1859_0abcdd444859["NavSecondary()"] ace40f40_25aa_0589_889a_61b184a1329a["nav-secondary.tsx"] 6b624097_bb21_5817_1859_0abcdd444859 -->|defined in| ace40f40_25aa_0589_889a_61b184a1329a style 6b624097_bb21_5817_1859_0abcdd444859 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
apps/v4/registry/new-york-v4/blocks/sidebar-16/components/nav-secondary.tsx lines 12–40
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 size="sm">
<a href={item.url}>
<item.icon />
<span>{item.title}</span>
</a>
</SidebarMenuButton>
</SidebarMenuItem>
))}
</SidebarMenu>
</SidebarGroupContent>
</SidebarGroup>
)
}
Domain
Subdomains
Source
Frequently Asked Questions
What does NavSecondary() do?
NavSecondary() is a function in the ui codebase, defined in apps/v4/registry/new-york-v4/blocks/sidebar-16/components/nav-secondary.tsx.
Where is NavSecondary() defined?
NavSecondary() is defined in apps/v4/registry/new-york-v4/blocks/sidebar-16/components/nav-secondary.tsx at line 12.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free