Components

Menubar

Horizontal menu bar for organizing navigation and actions

Preview

Installation

Usage

API Reference

The Menubar component is built on top of Base UI's Menubar. All Base UI props are supported. The documentation below only covers custom props and modified defaults specific to our implementation.

For the complete Base UI API, see the Base UI Menubar documentation.

Custom Props

Prop
Prop
Prop
Prop

Modified Defaults

Our implementation changes the following Base UI prop defaults:

  • MenubarTrigger: delay defaults to 0 (Base UI defaults to 600)
  • MenubarTrigger: closeDelay defaults to 0
  • MenubarContent: align defaults to 'start' (Base UI defaults to 'center')
  • MenubarContent: alignOffset defaults to -4
  • MenubarContent: sideOffset defaults to 8 (Base UI defaults to 0)
  • MenubarSubContent: sideOffset defaults to 8