NavigationMenuIndicator() — ui Function Reference
Architecture documentation for the NavigationMenuIndicator() function in navigation-menu.tsx from the ui codebase.
Entity Profile
Dependency Diagram
graph TD eae8b596_dabe_9a7b_b8a0_1a8202e5fcb5["NavigationMenuIndicator()"] 0e1e9b2a_fad2_a395_127a_397215420ce4["navigation-menu.tsx"] eae8b596_dabe_9a7b_b8a0_1a8202e5fcb5 -->|defined in| 0e1e9b2a_fad2_a395_127a_397215420ce4 style eae8b596_dabe_9a7b_b8a0_1a8202e5fcb5 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
apps/v4/registry/bases/base/ui/navigation-menu.tsx lines 145–161
function NavigationMenuIndicator({
className,
...props
}: React.ComponentPropsWithRef<typeof NavigationMenuPrimitive.Icon>) {
return (
<NavigationMenuPrimitive.Icon
data-slot="navigation-menu-indicator"
className={cn(
"cn-navigation-menu-indicator top-full z-1 flex h-1.5 items-end justify-center overflow-hidden",
className
)}
{...props}
>
<div className="cn-navigation-menu-indicator-arrow relative top-[60%] h-2 w-2 rotate-45" />
</NavigationMenuPrimitive.Icon>
)
}
Domain
Subdomains
Source
Frequently Asked Questions
What does NavigationMenuIndicator() do?
NavigationMenuIndicator() is a function in the ui codebase, defined in apps/v4/registry/bases/base/ui/navigation-menu.tsx.
Where is NavigationMenuIndicator() defined?
NavigationMenuIndicator() is defined in apps/v4/registry/bases/base/ui/navigation-menu.tsx at line 145.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free