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

Relationship Graph

Source Code

apps/v4/registry/bases/radix/ui/menubar.tsx lines 211–222

function MenubarShortcut({
  className,
  ...props
}: React.ComponentProps<"span">) {
  return (
    <span
      data-slot="menubar-shortcut"
      className={cn("cn-menubar-shortcut ml-auto", className)}
      {...props}
    />
  )
}

Subdomains

Frequently Asked Questions

What does MenubarShortcut() do?
MenubarShortcut() is a function in the ui codebase, defined in apps/v4/registry/bases/radix/ui/menubar.tsx.
Where is MenubarShortcut() defined?
MenubarShortcut() is defined in apps/v4/registry/bases/radix/ui/menubar.tsx at line 211.

Analyze Your Own Codebase

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

Try Supermodel Free