Catalog Dropdowns

<.item_with_dropdown>

ConnieUI.Dropdowns

HEEx
<div class="w-3xs rounded-lg bg-primary py-1 shadow-lg ring-1 ring-secondary_alt">
  <ConnieUI.Dropdowns.item_with_dropdown id="catalog-item-with-dropdown">
    Move to
    <:popover>
      <ConnieUI.Dropdowns.item click={JS.push("move")}>Archive</ConnieUI.Dropdowns.item>
    </:popover>
  </ConnieUI.Dropdowns.item_with_dropdown>
</div>

Controls

:string

Set by the example

gates

Docs

No @doc for this component.

Attribute Type Default Description
id :string
gates :list []
List of gates to check, e.g. [{:permission, :edit}, {:feature, :enable_x}, {:limit, :templates}]
Slot Slot attributes Description
inner_block *
:popover *