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
  6171bb3d_e474_3c43_1c02_0dcfe2961be3["MenubarShortcut()"]
  b88c6686_7952_f3d1_073d_cdb429cd7d48["menubar.tsx"]
  6171bb3d_e474_3c43_1c02_0dcfe2961be3 -->|defined in| b88c6686_7952_f3d1_073d_cdb429cd7d48
  style 6171bb3d_e474_3c43_1c02_0dcfe2961be3 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

apps/v4/examples/base/ui/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 ml-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/menubar.tsx.
Where is MenubarShortcut() defined?
MenubarShortcut() is defined in apps/v4/examples/base/ui/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