PetalComponents.Dropdown (petal_components v0.3.2) View Source
Link to this section Summary
Functions
<.dropdown label="Dropdown" js_lib="alpine_js|live_view_js">
Link to this section Functions
<.dropdown label="Dropdown" js_lib="alpine_js|live_view_js">
<.dropdown_menu_item type="button">
<Heroicons.Outline.home class="w-5 h-5 text-gray-500" />
Button item with icon
</.dropdown_menu_item>
<.dropdown_menu_item type="a" href="/" label="a item" />
<.dropdown_menu_item type="live_patch" href="/" label="Live Patch item" />
<.dropdown_menu_item type="live_redirect" href="/" label="Live Redirect item" />
</.dropdown>