Modal

Attribute Type Documentation Default Value
id :any Modal id
class :any Modal class ""
hide_close :boolean Hide top right close button false
trigger :slot Modal trigger
<:trigger :let={f}>
  <button class="btn btn-primary" onclick={"document.getElementById('#{f}').showModal()"}>Open</button>
</:trigger>
title :slot Modal title
<:title>PhoenixDuskmoon</:title>
Required body * :slot Modal content
<:body>PhoenixDuskmoon Storybook</:body>
footer :slot Modal footer, buttons