Modal Trigger Options
Examples of different methods of launching a modal.
Important Notes:The Button component is the standard method to trigger a modal. An Image trigger can be created by wrapping the Trigger component around an Image element.Advanced usage: if the Image element has an absolute value (e.g. 640px) defined for max_width, then the modal's width prop can be set to auto. This will allow the image inside the modal to be responsive but does not stretch beyond the specified max_width.Buttons are preferred for opening a modal, but you can use a link in a pinch.
Demo
This modal is triggered by a button.
Link trigger
This modal is triggered by a link.