Dialog

Dialog provides a modal surface with headline, body, icon, and action slots built on the native <dialog> element.

Delete file?

The file will be permanently removed from your workspace.

Props

NameDescriptionDefaultControl
closeOnBackdropOptional

Whether clicking the backdrop closes the dialog.

boolean | undefined
true
openOptional

-

boolean | undefined
false

Events

NameTypeDescription
update:open[value: boolean]-
cancel[event: Event]-
close[returnValue: string]-

Slots

NameParametersDescription
icon-Optional leading icon content.
headline-Optional dialog headline.
default-Supporting text or custom body content.
actions-Action buttons row.

Default

Delete file?

The file will be permanently removed from your workspace.

With Icon

info

Sync paused

Changes are saved locally and will upload automatically when the network is available again.