ContextMenuContent() — ui Function Reference
Architecture documentation for the ContextMenuContent() function in context-menu.tsx from the ui codebase.
Entity Profile
Dependency Diagram
graph TD fff3029f_b4a3_c2e2_ee5c_e59995663122["ContextMenuContent()"] 5d105852_232b_d03d_d20e_db71f332c957["context-menu.tsx"] fff3029f_b4a3_c2e2_ee5c_e59995663122 -->|defined in| 5d105852_232b_d03d_d20e_db71f332c957 style fff3029f_b4a3_c2e2_ee5c_e59995663122 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
deprecated/www/registry/new-york/ui/context-menu.tsx lines 60–71
>(({ className, ...props }, ref) => (
<ContextMenuPrimitive.Portal>
<ContextMenuPrimitive.Content
ref={ref}
className={cn(
"z-50 max-h-[--radix-context-menu-content-available-height] min-w-[8rem] overflow-y-auto overflow-x-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-md data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 origin-[--radix-context-menu-content-transform-origin]",
className
)}
{...props}
/>
</ContextMenuPrimitive.Portal>
))
Domain
Subdomains
Source
Frequently Asked Questions
What does ContextMenuContent() do?
ContextMenuContent() is a function in the ui codebase, defined in deprecated/www/registry/new-york/ui/context-menu.tsx.
Where is ContextMenuContent() defined?
ContextMenuContent() is defined in deprecated/www/registry/new-york/ui/context-menu.tsx at line 60.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free