Home / Function/ MenubarPortal() — ui Function Reference

MenubarPortal() — ui Function Reference

Architecture documentation for the MenubarPortal() function in menubar.tsx from the ui codebase.

Entity Profile

Dependency Diagram

graph TD
  5ce66cb9_242a_2c42_670e_7821bd00a160["MenubarPortal()"]
  feb74425_d8ed_04d0_82fe_8b48becd0017["menubar.tsx"]
  5ce66cb9_242a_2c42_670e_7821bd00a160 -->|defined in| feb74425_d8ed_04d0_82fe_8b48becd0017
  style 5ce66cb9_242a_2c42_670e_7821bd00a160 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

apps/v4/registry/new-york-v4/ui/menubar.tsx lines 37–41

function MenubarPortal({
  ...props
}: React.ComponentProps<typeof MenubarPrimitive.Portal>) {
  return <MenubarPrimitive.Portal data-slot="menubar-portal" {...props} />
}

Subdomains

Frequently Asked Questions

What does MenubarPortal() do?
MenubarPortal() is a function in the ui codebase, defined in apps/v4/registry/new-york-v4/ui/menubar.tsx.
Where is MenubarPortal() defined?
MenubarPortal() is defined in apps/v4/registry/new-york-v4/ui/menubar.tsx at line 37.

Analyze Your Own Codebase

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

Try Supermodel Free