Modal
The modal component, prefixed by gds-modal
, is the standard pop-up element for accepting user input. For a transparent backdrop behind the modal window, gds-modal
should be wrapped in a gds-modal__overlay
element.
To show the modal, add gds-modal--shown
to gds-modal__overlay
.