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

Relationship Graph

Source Code

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