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