DropdownMenuSubContent() — ui Function Reference
Architecture documentation for the DropdownMenuSubContent() function in dropdown-menu.tsx from the ui codebase.
Entity Profile
Dependency Diagram
graph TD f5cd205e_e5d5_99ad_ab40_bdc7b1e22658["DropdownMenuSubContent()"] dd52e030_1703_c7e9_8247_9cc43bf2410f["dropdown-menu.tsx"] f5cd205e_e5d5_99ad_ab40_bdc7b1e22658 -->|defined in| dd52e030_1703_c7e9_8247_9cc43bf2410f style f5cd205e_e5d5_99ad_ab40_bdc7b1e22658 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
apps/v4/examples/base/ui-rtl/dropdown-menu.tsx lines 129–151
function DropdownMenuSubContent({
align = "start",
alignOffset = -3,
side = "inline-end",
sideOffset = 0,
className,
...props
}: React.ComponentProps<typeof DropdownMenuContent>) {
return (
<DropdownMenuContent
data-slot="dropdown-menu-sub-content"
className={cn(
"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 bg-popover text-popover-foreground w-auto min-w-[96px] rounded-md p-1 shadow-lg ring-1 duration-100",
className
)}
align={align}
alignOffset={alignOffset}
side={side}
sideOffset={sideOffset}
{...props}
/>
)
}
Domain
Subdomains
Source
Frequently Asked Questions
What does DropdownMenuSubContent() do?
DropdownMenuSubContent() is a function in the ui codebase, defined in apps/v4/examples/base/ui-rtl/dropdown-menu.tsx.
Where is DropdownMenuSubContent() defined?
DropdownMenuSubContent() is defined in apps/v4/examples/base/ui-rtl/dropdown-menu.tsx at line 129.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free