Home / Function/ DropdownMenuShortcut() — ui Function Reference

DropdownMenuShortcut() — ui Function Reference

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

Entity Profile

Dependency Diagram

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

Relationship Graph

Source Code

apps/v4/registry/bases/radix/ui/dropdown-menu.tsx lines 204–215

function DropdownMenuShortcut({
  className,
  ...props
}: React.ComponentProps<"span">) {
  return (
    <span
      data-slot="dropdown-menu-shortcut"
      className={cn("cn-dropdown-menu-shortcut", className)}
      {...props}
    />
  )
}

Subdomains

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free