ContextMenuShortcut() — ui Function Reference
Architecture documentation for the ContextMenuShortcut() function in context-menu.tsx from the ui codebase.
Entity Profile
Dependency Diagram
graph TD 7893e79d_a43d_db4c_1072_edf217c4a38a["ContextMenuShortcut()"] 7c8078bc_b901_e423_4b83_6ea00a5f8fc9["context-menu.tsx"] 7893e79d_a43d_db4c_1072_edf217c4a38a -->|defined in| 7c8078bc_b901_e423_4b83_6ea00a5f8fc9 style 7893e79d_a43d_db4c_1072_edf217c4a38a fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
apps/v4/examples/radix/ui/context-menu.tsx lines 234–248
function ContextMenuShortcut({
className,
...props
}: React.ComponentProps<"span">) {
return (
<span
data-slot="context-menu-shortcut"
className={cn(
"text-muted-foreground group-focus/context-menu-item:text-accent-foreground ml-auto text-xs tracking-widest",
className
)}
{...props}
/>
)
}
Domain
Subdomains
Defined In
Source
Frequently Asked Questions
What does ContextMenuShortcut() do?
ContextMenuShortcut() is a function in the ui codebase, defined in apps/v4/examples/radix/ui/context-menu.tsx.
Where is ContextMenuShortcut() defined?
ContextMenuShortcut() is defined in apps/v4/examples/radix/ui/context-menu.tsx at line 234.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free