Modal
Basic

Toggle a working modal demo by clicking the button below. It will slide down and fade in from the top of the page.

Static backdrop

When backdrop is set to static, the modal will not close when clicking outside of it. Click the button below to try it.

Scrolling long content

You can also create a scrollable modal that allows scrolling the modal body by adding .modal-dialog-scrollable to .modal-dialog.

Vertically centered

Add .modal-dialog-centered to .modal-dialog to vertically center the modal.

Tooltips and popovers

Tooltips and popovers can be placed within modals as needed. When modals are closed, any tooltips and popovers within are also automatically dismissed.

Toggle between

Toggle between multiple modals easily using Bootstrap’s built-in modal toggle feature. Each modal can open or switch to another smoothly without closing the backdrop.

Fullscreen

Create fullscreen modals using Bootstrap’s responsive modal classes. These modals expand to cover the entire viewport, ideal for immersive forms or detailed content displays.

Position Modal
Modal Sizes