Components / Dialog

Dialog

A window overlaid on either the primary window or another dialog window, rendering the content underneath inert.

Dialog API

Prop / EventTypeDefaultDescription
modelValuebooleanfalseControls dialog visibility. Use v-model to bind.
showClosebooleantrueWhether to render the close (×) button in the top-right corner.
closeOnClickOutsidebooleantrueClose when clicking the backdrop.
closeOnEscapebooleantrueClose when the Escape key is pressed.
titleIdstringundefinedID for the title element, used for aria-labelledby.
descIdstringundefinedID for the description element, used for aria-describedby.