base-ui-svelte

Menubar

A horizontal menu bar of menus.

View as Markdown

API Reference

Props mirror Base UI React where applicable, adapted for Svelte 5. Native HTML attributes for the rendered element are also accepted unless noted.

Menubar

Extends div HTML attributes.

PropertyTypeDefaultDescription
orientationMenubarOrientation'horizontal'
closeDelaynumberDelay before closing after pointer leaves (ms).
childrenSnippetContent rendered inside the part.
Data attributeDescription
data-orientationThe orientation of the component.