A modal dialog appears on top of the main content and moves the system into a special mode requiring user interaction. This dialog disables the main content until the user explicitly interacts with the modal dialog.
- Use modal dialogs for important warnings, as a way to prevent or correct critical errors.
- Use modal dialogs to request the user to enter information critical to continuing the current process.
- Modal dialogs can be used to fragment a complex workflow into simpler steps.
- Use modal dialogs to ask for information that, when provided, could significantly lessen users’ work or effort.
- Do not use modal dialogs for nonessential information that is not related to the current user flow.
- Avoid modal dialogs for complex decision making that requires additional sources of information unavailable in the modal.
Use Bootstrap's JavaScript modal plugin to add dialogs, user notifications, or custom content. Documentation on Bootstrap modals can be found here: Bootstrap Modals
Default modals
Toggle modals by clicking the buttons below... the modal will slide down and fade in from the top of the view.
Launch default modal Large modal Small modal
Custom modal
Custom style for modal dialog.
Open custom modal