DropdownMenuSubContent() — ui Function Reference
Architecture documentation for the DropdownMenuSubContent() function in dropdown-menu.tsx from the ui codebase.
Entity Profile
Dependency Diagram
graph TD 70ee6b48_c180_c9c5_77d5_b82d4f6b47c4["DropdownMenuSubContent()"] febdc062_65bf_baa1_0c99_f0e8129d515e["dropdown-menu.tsx"] 70ee6b48_c180_c9c5_77d5_b82d4f6b47c4 -->|defined in| febdc062_65bf_baa1_0c99_f0e8129d515e style 70ee6b48_c180_c9c5_77d5_b82d4f6b47c4 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
apps/v4/examples/radix/ui-rtl/dropdown-menu.tsx lines 240–254
function DropdownMenuSubContent({
className,
...props
}: React.ComponentProps<typeof DropdownMenuPrimitive.SubContent>) {
return (
<DropdownMenuPrimitive.SubContent
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 cn-menu-target z-50 min-w-[96px] origin-(--radix-dropdown-menu-content-transform-origin) overflow-hidden rounded-md p-1 shadow-lg ring-1 duration-100",
className
)}
{...props}
/>
)
}
Domain
Subdomains
Source
Frequently Asked Questions
What does DropdownMenuSubContent() do?
DropdownMenuSubContent() is a function in the ui codebase, defined in apps/v4/examples/radix/ui-rtl/dropdown-menu.tsx.
Where is DropdownMenuSubContent() defined?
DropdownMenuSubContent() is defined in apps/v4/examples/radix/ui-rtl/dropdown-menu.tsx at line 240.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free