Menubar
Desktop-style horizontal menu bar with dropdown submenus.
Generated from the package's public source.
API
Contentcomponent
Content(props: MenubarContentProps): Element
Props
class?stringref?(el: HTMLDivElement) => voidstyle?string | CSSProperties
children: Element
Itemcomponent
Item(props: MenubarItemProps): Element
Props
class?stringdisabled?booleanonSelect?() => void
children: Element
Menucomponent
Menu(props: MenubarMenuProps): Element
children: Element
MenubarContentPropsinterface
Props
class?stringref?(el: HTMLDivElement) => voidstyle?string | CSSProperties
children: Element
MenubarItemPropsinterface
Props
class?stringdisabled?booleanonSelect?() => void
children: Element
MenubarMenuPropsinterface
children: Element
MenubarRootPropsinterface
Props
class?string
children: Element
MenubarSeparatorPropsinterface
Props
class?string
MenubarSubContentPropsinterface
Props
class?stringstyle?string | CSSProperties
children: Element
MenubarSubMenuPropsinterface
children: Element
MenubarSubTriggerPropsinterface
Props
class?string
children: Element
MenubarTriggerPropsinterface
Props
class?stringref?(el: HTMLButtonElement) => void
children: Element
Rootcomponent
Root(props: MenubarRootProps): Element
Props
class?string
children: Element
Separatorcomponent
Separator(props: MenubarSeparatorProps): Element
Props
class?string
SubContentcomponent
SubContent(props: MenubarSubContentProps): Element
Props
class?stringstyle?string | CSSProperties
children: Element
SubMenucomponent
SubMenu(props: MenubarSubMenuProps): Element
children: Element
SubTriggercomponent
SubTrigger(props: MenubarSubTriggerProps): Element
Props
class?string
children: Element
Triggercomponent
Trigger(props: MenubarTriggerProps): Element
Props
class?stringref?(el: HTMLButtonElement) => void
children: Element