Drawer

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

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

"Close"
on_cancel %JS{} %Phoenix.LiveView.JS{ops: []}
class :any
rest :global
title :slot
Required inner_block * :slot
<p>Drawer without a visible title uses aria-label.</p>