View Source DaisyUIComponents.Dropdown (DaisyUIComponents v0.1.6)
Dropdown component
Summary
Functions
Renders a button group.
Functions
Renders a button group.
Examples
<.dropdown>
<summary class="btn m-1">open or close</summary>
<ul class="menu dropdown-content bg-base-100 rounded-box z-[1] w-52 p-2 shadow">
<li><a>Item 1</a></li>
<li><a>Item 2</a></li>
</ul>
</.dropdown>
Attributes
class
(:string
) - Defaults tonil
.top
(:boolean
) - Defaults tonil
.bottom
(:boolean
) - Defaults tonil
.end
(:boolean
) - Defaults tonil
.left
(:boolean
) - Defaults tonil
.right
(:boolean
) - Defaults tonil
.hover
(:boolean
) - Defaults tonil
.open
(:boolean
) - Defaults tonil
.- Global attributes are accepted.
Slots
inner_block
(required)