Pick a theme
Sheet content goes here.
<.sheet id="sheet-single-right"> <:title>Sheet title</:title> <p>Sheet content goes here.</p> <: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> </.sheet>
Content from the left side.
<.sheet id="sheet-single-left" side="left"> <:title>Left sheet</:title> <p>Content from the left side.</p> </.sheet>
Compact sheet for command palettes or global search.
<.sheet id="sheet-single-top" side="top"> <:title>Top sheet</:title> <p>Compact sheet for command palettes or global search.</p> </.sheet>
Bottom sheet without a visible title uses aria-label.
<.sheet id="sheet-single-bottom" label="Mobile actions" side="bottom"> <p>Bottom sheet without a visible title uses aria-label.</p> </.sheet>