Sheet

Attribute Type Documentation Default Value
Required id * :string
show :boolean false
side :string "right"
class :any
label :string "Sheet"
close_label :string

accessible name of the close button, in the page's language

"Close"
on_cancel %JS{} %Phoenix.LiveView.JS{ops: []}
rest :global
Required inner_block * :slot
<p>Sheet content goes here.</p>
title :slot
<:title>Sheet title</:title>
footer :slot
<:footer><ExoUI.Components.button variant="outline" phx-click={ExoUI.Components.Overlay.hide_sheet("sheet-single-right")}>Cancel</ExoUI.Components.button><ExoUI.Components.button>Save</ExoUI.Components.button></:footer>