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

Relationship Graph

Source Code

apps/v4/registry/new-york-v4/ui/dropdown-menu.tsx lines 179–193

function DropdownMenuShortcut({
  className,
  ...props
}: React.ComponentProps<"span">) {
  return (
    <span
      data-slot="dropdown-menu-shortcut"
      className={cn(
        "text-muted-foreground ml-auto text-xs tracking-widest",
        className
      )}
      {...props}
    />
  )
}

Subdomains

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free