MenubarSubContent() — ui Function Reference
Architecture documentation for the MenubarSubContent() function in menubar.tsx from the ui codebase.
Entity Profile
Dependency Diagram
graph TD 30c2fd1b_8b66_4a44_4a7b_0ef522a873be["MenubarSubContent()"] b88c6686_7952_f3d1_073d_cdb429cd7d48["menubar.tsx"] 30c2fd1b_8b66_4a44_4a7b_0ef522a873be -->|defined in| b88c6686_7952_f3d1_073d_cdb429cd7d48 style 30c2fd1b_8b66_4a44_4a7b_0ef522a873be fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
apps/v4/examples/base/ui/menubar.tsx lines 250–264
function MenubarSubContent({
className,
...props
}: React.ComponentProps<typeof DropdownMenuSubContent>) {
return (
<DropdownMenuSubContent
data-slot="menubar-sub-content"
className={cn(
"bg-popover text-popover-foreground data-open:animate-in data-closed:animate-out data-closed:fade-out-0 data-open:fade-in-0 data-closed:zoom-out-95 data-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 ring-foreground/10 min-w-32 rounded-lg p-1 shadow-lg ring-1 duration-100",
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/examples/base/ui/menubar.tsx.
Where is MenubarSubContent() defined?
MenubarSubContent() is defined in apps/v4/examples/base/ui/menubar.tsx at line 250.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free