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
  de9f3fc1_6690_17d8_da19_6fcea70a2ee7["MenubarPortal()"]
  ee32cbd0_cc28_99db_bd77_2dc81b265b5f["menubar.tsx"]
  de9f3fc1_6690_17d8_da19_6fcea70a2ee7 -->|defined in| ee32cbd0_cc28_99db_bd77_2dc81b265b5f
  style de9f3fc1_6690_17d8_da19_6fcea70a2ee7 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

apps/v4/registry/bases/radix/ui/menubar.tsx lines 34–38

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/bases/radix/ui/menubar.tsx.
Where is MenubarPortal() defined?
MenubarPortal() is defined in apps/v4/registry/bases/radix/ui/menubar.tsx at line 34.

Analyze Your Own Codebase

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

Try Supermodel Free