Dropdown

Attribute Type Documentation Default Value
class :string
top :boolean
bottom :boolean
end :boolean
left :boolean
right :boolean
hover :boolean
open :boolean
rest :global
Required inner_block * :slot
<div tabindex="0" class="btn m-1">Click</div>
<ul tabindex="0" 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>