ContextMenuShortcut() — ui Function Reference
Architecture documentation for the ContextMenuShortcut() function in context-menu.tsx from the ui codebase.
Entity Profile
Dependency Diagram
graph TD ca0f8de5_f31f_15eb_29f7_6209f72b6a47["ContextMenuShortcut()"] 930cc572_d1fb_f298_a104_7f37f14aee1f["context-menu.tsx"] ca0f8de5_f31f_15eb_29f7_6209f72b6a47 -->|defined in| 930cc572_d1fb_f298_a104_7f37f14aee1f style ca0f8de5_f31f_15eb_29f7_6209f72b6a47 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
apps/v4/registry/bases/radix/ui/context-menu.tsx lines 251–262
function ContextMenuShortcut({
className,
...props
}: React.ComponentProps<"span">) {
return (
<span
data-slot="context-menu-shortcut"
className={cn("cn-context-menu-shortcut", className)}
{...props}
/>
)
}
Domain
Subdomains
Source
Frequently Asked Questions
What does ContextMenuShortcut() do?
ContextMenuShortcut() is a function in the ui codebase, defined in apps/v4/registry/bases/radix/ui/context-menu.tsx.
Where is ContextMenuShortcut() defined?
ContextMenuShortcut() is defined in apps/v4/registry/bases/radix/ui/context-menu.tsx at line 251.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free