Home / Function/ MenubarShortcut() — ui Function Reference

MenubarShortcut() — ui Function Reference

Architecture documentation for the MenubarShortcut() function in menubar.tsx from the ui codebase.

Entity Profile

Dependency Diagram

graph TD
  517dc0a3_0f75_b61a_8b27_9cc1d44b8ee9["MenubarShortcut()"]
  f1420c7b_ce7d_2f52_0659_93a17947fae3["menubar.tsx"]
  517dc0a3_0f75_b61a_8b27_9cc1d44b8ee9 -->|defined in| f1420c7b_ce7d_2f52_0659_93a17947fae3
  style 517dc0a3_0f75_b61a_8b27_9cc1d44b8ee9 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

apps/v4/examples/base/ui-rtl/menubar.tsx lines 208–222

function MenubarShortcut({
  className,
  ...props
}: React.ComponentProps<typeof DropdownMenuShortcut>) {
  return (
    <DropdownMenuShortcut
      data-slot="menubar-shortcut"
      className={cn(
        "text-muted-foreground group-focus/menubar-item:text-accent-foreground ms-auto text-xs tracking-widest",
        className
      )}
      {...props}
    />
  )
}

Subdomains

Frequently Asked Questions

What does MenubarShortcut() do?
MenubarShortcut() is a function in the ui codebase, defined in apps/v4/examples/base/ui-rtl/menubar.tsx.
Where is MenubarShortcut() defined?
MenubarShortcut() is defined in apps/v4/examples/base/ui-rtl/menubar.tsx at line 208.

Analyze Your Own Codebase

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

Try Supermodel Free