Bottom Sheet

Header
Content
Attribute Type Documentation Default Value
id :string

Unique identifier for the bottom sheet component. Required for the close button to work if present

has_handle :boolean

Whether the bottom sheet has a handle for dragging.

false
class :string

Additional classes to add to the component.

""
rest :global

Additional attributes to add to the bottom sheet component.

header :slot

Title content of the bottom sheet.

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

Inner content of the bottom sheet.