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
  6d99bd57_d6da_c591_0888_6cbfcb99a2e3["DropdownMenuShortcut()"]
  31bd3b68_e261_43d5_e508_adf6fc257b8a["dropdown-menu.tsx"]
  6d99bd57_d6da_c591_0888_6cbfcb99a2e3 -->|defined in| 31bd3b68_e261_43d5_e508_adf6fc257b8a
  style 6d99bd57_d6da_c591_0888_6cbfcb99a2e3 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

apps/v4/registry/bases/base/ui/dropdown-menu.tsx lines 253–264

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/base/ui/dropdown-menu.tsx.
Where is DropdownMenuShortcut() defined?
DropdownMenuShortcut() is defined in apps/v4/registry/bases/base/ui/dropdown-menu.tsx at line 253.

Analyze Your Own Codebase

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

Try Supermodel Free