DropdownMenuSubContent() — ui Function Reference
Architecture documentation for the DropdownMenuSubContent() function in dropdown-menu.tsx from the ui codebase.
Entity Profile
Dependency Diagram
graph TD 4dac23ba_f74a_c49f_54a1_1918901a1dd2["DropdownMenuSubContent()"] d7b0e221_d151_7367_75f5_67f02423afab["dropdown-menu.tsx"] 4dac23ba_f74a_c49f_54a1_1918901a1dd2 -->|defined in| d7b0e221_d151_7367_75f5_67f02423afab style 4dac23ba_f74a_c49f_54a1_1918901a1dd2 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
deprecated/www/registry/default/ui/dropdown-menu.tsx lines 46–55
>(({ className, ...props }, ref) => (
<DropdownMenuPrimitive.SubContent
ref={ref}
className={cn(
"z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-lg 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-dropdown-menu-content-transform-origin]",
className
)}
{...props}
/>
))
Domain
Subdomains
Source
Frequently Asked Questions
What does DropdownMenuSubContent() do?
DropdownMenuSubContent() is a function in the ui codebase, defined in deprecated/www/registry/default/ui/dropdown-menu.tsx.
Where is DropdownMenuSubContent() defined?
DropdownMenuSubContent() is defined in deprecated/www/registry/default/ui/dropdown-menu.tsx at line 46.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free