Modal

Modal demo

Live demo 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 it. Click the button below to try it.

Scrolling long content

When modals become too long for the user’s viewport or device, they scroll independent of the page itself. Try the demo below to see what we mean.

Scrollable modal

Vertically centered scrollable modal.

Toggle between modals

Toggle between multiple modals with some clever placement of the data-bs-target and data-bs-toggle attributes.

Open first modal