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

Relationship Graph

Source Code

deprecated/www/registry/new-york/ui/dropdown-menu.tsx lines 172–182

const DropdownMenuShortcut = ({
  className,
  ...props
}: React.HTMLAttributes<HTMLSpanElement>) => {
  return (
    <span
      className={cn("ml-auto text-xs tracking-widest opacity-60", className)}
      {...props}
    />
  )
}

Subdomains

Frequently Asked Questions

What does DropdownMenuShortcut() do?
DropdownMenuShortcut() is a function in the ui codebase, defined in deprecated/www/registry/new-york/ui/dropdown-menu.tsx.
Where is DropdownMenuShortcut() defined?
DropdownMenuShortcut() is defined in deprecated/www/registry/new-york/ui/dropdown-menu.tsx at line 172.

Analyze Your Own Codebase

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

Try Supermodel Free