Drawer

Attribute Type Documentation Default Value
id :string

Unique identifier for the Drawer component

has_close_button :boolean

Whether the Drawer has a close button.

false
position :string

Position of the Drawer

"end"
class :string

Additional CSS classes for the Drawer

""
rest :global

Additional HTML attributes for the Drawer

inner_block :slot

Inner block of the Drawer

<div class="flex items-center justify-center h-full bg-brand-subtle text-brand">Content</div>
header :slot

Header of the Drawer

<:header>
  Drawer
  <.drawer_close />
</:header>
custom_close_icon :slot

Custom close icon for the Drawer.