Dropdown

Content
Attribute Type Documentation Default Value
id :string

Unique identifier for the dropdown component

class :string

Additional CSS classes for the dropdown

""
rest :global

Additional HTML attributes for the dropdown

trigger :slot

Content of the dropdown trigger

<:trigger>
<.button class="w-full">
Click to open
</.button>
</:trigger>
<div class="w-full flex items-center justify-center h-space-80 bg-brand-subtle text-brand">Content</div>
inner_block :slot

Inner block of the dropdown