MenubarSubContent() — ui Function Reference
Architecture documentation for the MenubarSubContent() function in menubar.tsx from the ui codebase.
Entity Profile
Dependency Diagram
graph TD be05a99c_7c66_22b2_8fad_4cf5329ed0d8["MenubarSubContent()"] feb74425_d8ed_04d0_82fe_8b48becd0017["menubar.tsx"] be05a99c_7c66_22b2_8fad_4cf5329ed0d8 -->|defined in| feb74425_d8ed_04d0_82fe_8b48becd0017 style be05a99c_7c66_22b2_8fad_4cf5329ed0d8 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
apps/v4/registry/new-york-v4/ui/menubar.tsx lines 243–257
function MenubarSubContent({
className,
...props
}: React.ComponentProps<typeof MenubarPrimitive.SubContent>) {
return (
<MenubarPrimitive.SubContent
data-slot="menubar-sub-content"
className={cn(
"bg-popover text-popover-foreground 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 z-50 min-w-[8rem] origin-(--radix-menubar-content-transform-origin) overflow-hidden rounded-md border p-1 shadow-lg",
className
)}
{...props}
/>
)
}
Domain
Subdomains
Defined In
Source
Frequently Asked Questions
What does MenubarSubContent() do?
MenubarSubContent() is a function in the ui codebase, defined in apps/v4/registry/new-york-v4/ui/menubar.tsx.
Where is MenubarSubContent() defined?
MenubarSubContent() is defined in apps/v4/registry/new-york-v4/ui/menubar.tsx at line 243.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free