
Premium solid menubar with keyboard navigation, checkbox items, radio items, and submenus.
npx shadcn@latest add https://ui.edbn.me/api/analytics/registry/menubar.jsonContains all Menubar menus representing a horizontal menu bar layout. Renders a div element.
loopFocusbooleantrueLoop keyboard focus through menus
classNamestring | functionCSS class name
renderReactElement | functionCustom render function
Groups a set of menu parts within the Menubar. Doesn't render its own HTML element.
defaultOpenbooleanfalseInitial open state
openbooleanControlled open state
onOpenChangefunctionCalled when state changes
A button that opens the corresponding menu. Renders a button element.
nativeButtonbooleantrueRender as native button
classNamestring | functionCSS class name
renderReactElement | functionCustom render function
| Attribute | Description |
|---|---|
| data-popup-open | Present when menu is open |
| data-highlighted | Present when highlighted |