Skip to content

Menubar

Provides a horizontal desktop-style menu bar with nested dropdowns and submenus for organizing complex application commands.

2.5 KB
•
Updated on August 25, 2026

Installation

Bash

Usage

Code
Code

Anatomy

Code

Accessibility

Keyboard Interactions

API Reference

The root container bar for grouping desktop-style menus. Wrapper for Menubar from Base UI.

Individual menu dropdown root. Wrapper for Menu.Root from Base UI.

The button inside the menubar that opens the dropdown menu.

Portal component for rendering the menubar content outside the normal DOM tree. Alias for Menu.Portal from Base UI.

The popup container for menu items, separators, and nested submenus.

Container for grouping related items within a menubar menu.

Label for a group of menubar items.

An actionable item within the menu popup.

A menu item with checkbox toggle support.

Radio selection options within a menu group.

Visual separator between menu items.

Displays keyboard shortcut key combinations inside menu items.

Components for creating multi-level nested submenus within menubar dropdowns.

MenubarSubTrigger supports inset?: boolean.

MenubarSubContent accepts align, alignOffset, and sideOffset (defaulting to 0).