Zazz Design Framework
Components

Dialog

Modal dialogs built with native dialog elements and Invoker Commands.

Dialogs use native <dialog class="ui-dialog"> elements. Open from buttons with command="show-modal" and commandfor="<id>". Close with command="close". Add closedby="any" for light-dismiss on backdrop click.

Default

Loading components…

With a form

Loading components…

API

AttributeTargetValues
commandTriggershow-modal, close
commandforTriggerTarget <dialog> id
data-size.ui-dialogarticle, container, screen
closedby<dialog>any, closerequest, none

For a dialog that requires an explicit response before proceeding, see Alert dialog.

On this page