16 #Modals Modals

modal, modal-dialog, modal-content, modal-header, modal-body, modal-footer, modal-backdrop

Modals follow the same DOM signature as Bootstrap 3 Modals; the Bootstrap JavaScript (or React-Bootstrap) will work. This is a deeply-nested structure; if you use your own scripts, be sure you match it exactly. You may, however, place whatever content you wish inside the modal-body and the modal-footer.

While the modal is open, add the class has-modal-open to the <body>; this will disable page scrolling.

modal-large - larger modal box

Add modal-backdrop--opaque to the backdrop to remove backdrop transparency.

Example
<div class="modal-backdrop" style="display: none"></div>
<div class="modal fade " role="dialog" aria-hidden="true">
  <div class="modal-dialog">
    <div class="modal-content">
      <div class="modal-header">
        <div type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</div>
        <h4 class="modal-title">Modal Title</h4>
      </div>
      <div class="modal-body">
        <p>This is the modal body. Put your content here.</p>
      </div>
      <div class="modal-footer">
        <button type="button" class="btn btn-simple" data-dismiss="modal">Close</button>
        <button type="button" class="btn">Save changes</button>
      </div>
    </div>
  </div>
</div>
<button class="btn btn-link">Click to show</button>