NavigationMenuIndicator() — ui Function Reference
Architecture documentation for the NavigationMenuIndicator() function in navigation-menu.tsx from the ui codebase.
Entity Profile
Dependency Diagram
graph TD 517eff0b_00ba_96a2_a0cd_b5471a1d1df0["NavigationMenuIndicator()"] 420dd9d0_1d7e_17e5_4905_f17921511220["navigation-menu.tsx"] 517eff0b_00ba_96a2_a0cd_b5471a1d1df0 -->|defined in| 420dd9d0_1d7e_17e5_4905_f17921511220 style 517eff0b_00ba_96a2_a0cd_b5471a1d1df0 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
apps/v4/registry/new-york-v4/ui/navigation-menu.tsx lines 140–156
function NavigationMenuIndicator({
className,
...props
}: React.ComponentProps<typeof NavigationMenuPrimitive.Indicator>) {
return (
<NavigationMenuPrimitive.Indicator
data-slot="navigation-menu-indicator"
className={cn(
"data-[state=visible]:animate-in data-[state=hidden]:animate-out data-[state=hidden]:fade-out data-[state=visible]:fade-in top-full z-[1] flex h-1.5 items-end justify-center overflow-hidden",
className
)}
{...props}
>
<div className="bg-border relative top-[60%] h-2 w-2 rotate-45 rounded-tl-sm shadow-md" />
</NavigationMenuPrimitive.Indicator>
)
}
Domain
Subdomains
Source
Frequently Asked Questions
What does NavigationMenuIndicator() do?
NavigationMenuIndicator() is a function in the ui codebase, defined in apps/v4/registry/new-york-v4/ui/navigation-menu.tsx.
Where is NavigationMenuIndicator() defined?
NavigationMenuIndicator() is defined in apps/v4/registry/new-york-v4/ui/navigation-menu.tsx at line 140.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free