Skip to content

Kirby 3.6.6

Text dialog

<k-text-dialog>

This UI component hasn't been finalized yet. The functionality and syntax aren't stable and might be redone in an upcoming release. Only use it at your own risk - breaking changes are likely to occur.

Props

Prop Type Default Description
autofocus
boolean
true
cancelButton
string|boolean
true
icon
string
–
size
string
Supported values:
small, default, medium, large
–
submitButton
string|boolean
true
text
string
–
theme
string
Supported values:
success, error
–
visible
boolean
–

Events

Event Description Passes
close
–
open
–
success
–

Slots

Slot Description
default

CSS classes

.k-text-dialog