Home / Function/ ContextMenuPortal() — ui Function Reference

ContextMenuPortal() — ui Function Reference

Architecture documentation for the ContextMenuPortal() function in context-menu.tsx from the ui codebase.

Entity Profile

Dependency Diagram

graph TD
  9cc52a2d_cd12_1617_72a4_791d3faed208["ContextMenuPortal()"]
  a8278523_5891_13ac_c50b_9df3d37da6a2["context-menu.tsx"]
  9cc52a2d_cd12_1617_72a4_791d3faed208 -->|defined in| a8278523_5891_13ac_c50b_9df3d37da6a2
  style 9cc52a2d_cd12_1617_72a4_791d3faed208 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

apps/v4/registry/new-york-v4/ui/context-menu.tsx lines 31–37

function ContextMenuPortal({
  ...props
}: React.ComponentProps<typeof ContextMenuPrimitive.Portal>) {
  return (
    <ContextMenuPrimitive.Portal data-slot="context-menu-portal" {...props} />
  )
}

Subdomains

Frequently Asked Questions

What does ContextMenuPortal() do?
ContextMenuPortal() is a function in the ui codebase, defined in apps/v4/registry/new-york-v4/ui/context-menu.tsx.
Where is ContextMenuPortal() defined?
ContextMenuPortal() is defined in apps/v4/registry/new-york-v4/ui/context-menu.tsx at line 31.

Analyze Your Own Codebase

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

Try Supermodel Free