Home / Function/ NavigationMenuContent() — ui Function Reference

NavigationMenuContent() — ui Function Reference

Architecture documentation for the NavigationMenuContent() function in navigation-menu.tsx from the ui codebase.

Entity Profile

Dependency Diagram

graph TD
  3ea86313_2896_7f2c_82bc_f39502e6668b["NavigationMenuContent()"]
  7033ca82_c257_829a_989d_8d82e8b5156c["navigation-menu.tsx"]
  3ea86313_2896_7f2c_82bc_f39502e6668b -->|defined in| 7033ca82_c257_829a_989d_8d82e8b5156c
  style 3ea86313_2896_7f2c_82bc_f39502e6668b fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

deprecated/www/registry/new-york/ui/navigation-menu.tsx lines 68–77

>(({ className, ...props }, ref) => (
  <NavigationMenuPrimitive.Content
    ref={ref}
    className={cn(
      "left-0 top-0 w-full data-[motion^=from-]:animate-in data-[motion^=to-]:animate-out data-[motion^=from-]:fade-in data-[motion^=to-]:fade-out data-[motion=from-end]:slide-in-from-right-52 data-[motion=from-start]:slide-in-from-left-52 data-[motion=to-end]:slide-out-to-right-52 data-[motion=to-start]:slide-out-to-left-52 md:absolute md:w-auto ",
      className
    )}
    {...props}
  />
))

Subdomains

Frequently Asked Questions

What does NavigationMenuContent() do?
NavigationMenuContent() is a function in the ui codebase, defined in deprecated/www/registry/new-york/ui/navigation-menu.tsx.
Where is NavigationMenuContent() defined?
NavigationMenuContent() is defined in deprecated/www/registry/new-york/ui/navigation-menu.tsx at line 68.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free