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

Relationship Graph

Source Code

deprecated/www/registry/default/ui/dropdown-menu.tsx lines 171–181

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/default/ui/dropdown-menu.tsx.
Where is DropdownMenuShortcut() defined?
DropdownMenuShortcut() is defined in deprecated/www/registry/default/ui/dropdown-menu.tsx at line 171.

Analyze Your Own Codebase

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

Try Supermodel Free