BetaPublic beta — Read the release notes
Documentation

Menubar

Desktop-style horizontal menu bar with dropdown submenus.

Package
@solidiom/menubar
Version
0.6.0
Status
experimental

Generated from the package's public source.

API

Contentcomponent

                        Content(props: MenubarContentProps): Element
                      

Props

class?
string
ref?
(el: HTMLDivElement) => void
style?
string | CSSProperties

children: Element

View source

Itemcomponent

                        Item(props: MenubarItemProps): Element
                      

Props

class?
string
disabled?
boolean
onSelect?
() => void

children: Element

View source

Menucomponent

                        Menu(props: MenubarMenuProps): Element
                      

children: Element

View source

MenubarContentPropsinterface

Props

class?
string
ref?
(el: HTMLDivElement) => void
style?
string | CSSProperties

children: Element

View source

MenubarItemPropsinterface

Props

class?
string
disabled?
boolean
onSelect?
() => void

children: Element

View source

MenubarMenuPropsinterface

children: Element

View source

MenubarRootPropsinterface

Props

class?
string

children: Element

View source

MenubarSeparatorPropsinterface

Props

class?
string

View source

MenubarSubContentPropsinterface

Props

class?
string
style?
string | CSSProperties

children: Element

View source

MenubarSubMenuPropsinterface

children: Element

View source

MenubarSubTriggerPropsinterface

Props

class?
string

children: Element

View source

MenubarTriggerPropsinterface

Props

class?
string
ref?
(el: HTMLButtonElement) => void

children: Element

View source

Rootcomponent

                        Root(props: MenubarRootProps): Element
                      

Props

class?
string

children: Element

View source

Separatorcomponent

                        Separator(props: MenubarSeparatorProps): Element
                      

Props

class?
string

View source

SubContentcomponent

                        SubContent(props: MenubarSubContentProps): Element
                      

Props

class?
string
style?
string | CSSProperties

children: Element

View source

SubMenucomponent

                        SubMenu(props: MenubarSubMenuProps): Element
                      

children: Element

View source

SubTriggercomponent

                        SubTrigger(props: MenubarSubTriggerProps): Element
                      

Props

class?
string

children: Element

View source

Triggercomponent

                        Trigger(props: MenubarTriggerProps): Element
                      

Props

class?
string
ref?
(el: HTMLButtonElement) => void

children: Element

View source