Catalog Cards

<.action_card>

ConnieUI.Cards

New template
HEEx
<div class="flex h-64 w-xs *:flex-1">
  <ConnieUI.Cards.action_card caption="New template" click={JS.push("new_template")} />
</div>

Controls

:string

Set by the example

click gates

Docs

No @doc for this component.

Attribute Type Default Description
click * {:struct, Phoenix.LiveView.JS}
caption * :string
gates :list []
List of gates to check, e.g. [{:permission, :edit}, {:feature, :enable_x}, {:limit, :templates}]