Home / Function/ DropdownMenuSubContent() — ui Function Reference

DropdownMenuSubContent() — ui Function Reference

Architecture documentation for the DropdownMenuSubContent() function in dropdown-menu.tsx from the ui codebase.

Entity Profile

Dependency Diagram

graph TD
  f1c6ca3d_39b0_dc2c_77ff_0d34e706a9dc["DropdownMenuSubContent()"]
  cc838d33_03fa_f695_dc59_932579174a46["dropdown-menu.tsx"]
  f1c6ca3d_39b0_dc2c_77ff_0d34e706a9dc -->|defined in| cc838d33_03fa_f695_dc59_932579174a46
  style f1c6ca3d_39b0_dc2c_77ff_0d34e706a9dc fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

apps/v4/registry/bases/radix/ui/dropdown-menu.tsx lines 254–268

function DropdownMenuSubContent({
  className,
  ...props
}: React.ComponentProps<typeof DropdownMenuPrimitive.SubContent>) {
  return (
    <DropdownMenuPrimitive.SubContent
      data-slot="dropdown-menu-sub-content"
      className={cn(
        "cn-dropdown-menu-sub-content cn-menu-target z-50 origin-(--radix-dropdown-menu-content-transform-origin) overflow-hidden",
        className
      )}
      {...props}
    />
  )
}

Subdomains

Frequently Asked Questions

What does DropdownMenuSubContent() do?
DropdownMenuSubContent() is a function in the ui codebase, defined in apps/v4/registry/bases/radix/ui/dropdown-menu.tsx.
Where is DropdownMenuSubContent() defined?
DropdownMenuSubContent() is defined in apps/v4/registry/bases/radix/ui/dropdown-menu.tsx at line 254.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free