Home / Function/ ContextMenuShortcut() — ui Function Reference

ContextMenuShortcut() — ui Function Reference

Architecture documentation for the ContextMenuShortcut() function in context-menu.tsx from the ui codebase.

Entity Profile

Dependency Diagram

graph TD
  e9987de6_f9f4_0384_4367_d547ebb89bf0["ContextMenuShortcut()"]
  a8278523_5891_13ac_c50b_9df3d37da6a2["context-menu.tsx"]
  e9987de6_f9f4_0384_4367_d547ebb89bf0 -->|defined in| a8278523_5891_13ac_c50b_9df3d37da6a2
  style e9987de6_f9f4_0384_4367_d547ebb89bf0 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

apps/v4/registry/new-york-v4/ui/context-menu.tsx lines 220–234

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

Subdomains

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free