Skip to main content

dyte-menu-item

A menu item component.

<dyte-menu placement="top">
<dyte-button slot="trigger">Top Menu</dyte-button>
<dyte-menu-list>
<dyte-menu-item onclick="alert('You clicked alert()')">alert()</dyte-button>
</dyte-menu-list>
</dyte-menu>

Props

iconPack

Icon pack

Default
defaultIconPack

size

Size

Type
"lg" | "md" | "sm" | "xl"

t

Language

Default
useLanguage()