Modal

Use Bootstrap’s JavaScript modal plugin to add dialogs to your site for lightboxes, user notifications, or completely custom content.

Modal with embed video

Show code

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.

Show code

Inside modal scrollable

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

Show code

Vertically centered

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

Show code

Optional sizes

Modals have three optional sizes, available via modifier classes to be placed on a .modal-dialog. These sizes kick in at certain breakpoints to avoid horizontal scrollbars on narrower viewports.

Show code


Blade-Component informations

Path

components/modal.blade.php

For more information about modal read the bootstrap documention Modal