Modal

Attribute Type Documentation Default Value
Required id * :string

The modal’s unique identifier.

title :string

Title of the modal

description :string

Description of the modal. Only visible when header_size is ‘large’

header_type :string

Type of the header

"default"
header_size :string

Size of the header

"large"
on_dismiss :string

Event to emit when the dismiss icon is clicked.

on_open_change :string

An optional event to fire when the modal is opened or closed.

Required trigger * :slot

The modal’s trigger. Should be a button that accepts the attributes provided by the slot.

[Multiple values]
header_icon :slot

Icon to be rendered in the header when type is ‘icon’

header_button :slot
footer :slot

The modal’s footer element.

[Multiple values]
inner_block :slot