# bootboxjs/bootbox

**Attribution required: if you use, quote, or summarise this content, you must credit and link back to [awesome-repositories.com](https://awesome-repositories.com/repository/bootboxjs-bootbox).**

5,026 stars · 1,022 forks · JavaScript · NOASSERTION

## Links

- GitHub: https://github.com/bootboxjs/bootbox
- Homepage: http://bootboxjs.com
- awesome-repositories: https://awesome-repositories.com/repository/bootboxjs-bootbox.md

## Description

Bootbox is a programmatic dialog library and JavaScript modal interface designed to create non-blocking alert, confirm, and prompt dialogs. It functions as a wrapper for the Bootstrap CSS framework, providing a toolkit to add stylized popup interactions to web interfaces.

The library simulates native browser dialog behaviors through a programmatic API, replacing blocking alerts with asynchronous modal windows. It distinguishes itself by offering a localized interface design, allowing for the translation of dialog buttons and content across multiple languages using built-in or custom translation sets.

The project covers a range of dialog components, including simple notifications, confirmation prompts, and structured input fields for capturing text, passwords, or selections. It provides tools for visual configuration, such as adjusting dialog size and centering, alongside management capabilities for controlling dialog lifecycles and performing bulk dismissal of active windows.

## Tags

### User Interface & Experience

- [Bootstrap CSS Integrations](https://awesome-repositories.com/f/user-interface-experience/bootstrap-css-integrations.md) — Implements a programmatic JavaScript API to create and manage modal dialogs using Bootstrap CSS.
- [Modal Wrappers](https://awesome-repositories.com/f/user-interface-experience/bootstrap-css-integrations/modal-wrappers.md) — Functions as a programmatic wrapper for Bootstrap modal components to create stylized dialogs.
- [Alert Dialogs](https://awesome-repositories.com/f/user-interface-experience/alert-dialogs.md) — Displays simple notification messages that require user acknowledgement to be dismissed. ([source](http://bootboxjs.com/v4.x))
- [Blocking Alert Notifications](https://awesome-repositories.com/f/user-interface-experience/alerts-notifications/blocking-alert-notifications.md) — Provides modal notifications that force user interaction for dismissal to ensure critical information is read.
- [Bootstrap UI Extensions](https://awesome-repositories.com/f/user-interface-experience/component-libraries/angular-ui-libraries/bootstrap-wrappers/bootstrap-ui-extensions.md) — Extends Bootstrap with customizable, localized popup interactions and modal dialogs.
- [Dialog Boxes](https://awesome-repositories.com/f/user-interface-experience/dialog-boxes.md) — Offers simplified functions to quickly launch standard alert, confirm, and prompt dialog boxes. ([source](http://bootboxjs.com/))
- [Modal Dialogs](https://awesome-repositories.com/f/user-interface-experience/modal-dialogs.md) — Enables the creation of flexible modal windows with custom user-defined content and interaction handlers. ([source](http://bootboxjs.com/v5.x))
- [Text Input Dialogs](https://awesome-repositories.com/f/user-interface-experience/modal-dialogs/text-input-dialogs.md) — Collects text input from the user via modal windows and returns values through callbacks. ([source](http://bootboxjs.com/v4.x))
- [Native Browser API Simulations](https://awesome-repositories.com/f/user-interface-experience/native-browser-api-simulations.md) — Simulates the behavior of native browser alert, confirm, and prompt functions using non-blocking modals.
- [User Confirmation Dialogs](https://awesome-repositories.com/f/user-interface-experience/user-confirmation-dialogs.md) — Provides modal prompts for yes/no decisions before executing specific application actions. ([source](http://bootboxjs.com/v2.x))
- [Dialog Dimension Controllers](https://awesome-repositories.com/f/user-interface-experience/dialog-dimension-controllers.md) — Provides tools to manually control the visibility and screen mode of active modal overlays. ([source](http://bootboxjs.com/documentation))
- [Dialog Appearance Customizers](https://awesome-repositories.com/f/user-interface-experience/dialog-dimension-controllers/dialog-appearance-customizers.md) — Allows visual customization of dialogs including size, vertical centering, and custom CSS classes. ([source](http://bootboxjs.com/examples))
- [Interface Localization](https://awesome-repositories.com/f/user-interface-experience/interface-localization.md) — Translates dialog buttons and labels into multiple languages to support a global user base.
- [Structured Input Fields](https://awesome-repositories.com/f/user-interface-experience/modal-dialogs/text-input-dialogs/structured-input-fields.md) — Displays dialogs with passwords, select menus, and checkboxes to capture complex user data. ([source](http://bootboxjs.com/documentation))
- [Modal Lifecycle Hooks](https://awesome-repositories.com/f/user-interface-experience/modal-lifecycle-hooks.md) — Allows execution of custom logic when modal windows transition between showing, shown, hiding, and hidden states. ([source](https://github.com/bootboxjs/bootbox/blob/master/CHANGELOG.md))
- [UI Component Localization](https://awesome-repositories.com/f/user-interface-experience/ui-component-localization.md) — Allows translation of standard action buttons in dialogs using built-in or custom localization sets. ([source](http://bootboxjs.com/v4.x/documentation.html))
- [Modal DOM Injection](https://awesome-repositories.com/f/user-interface-experience/visual-overlays/dom-transformation-overlays/modal-container-overlays/modal-dom-injection.md) — Programmatically generates HTML for dialogs and injects them directly into the document body at runtime.

### Web Development

- [User Interaction Confirmations](https://awesome-repositories.com/f/web-development/user-interaction-confirmations.md) — Prompts users for explicit approval via a modal before triggering specific web application actions.
- [Programmatic Dialog Interfaces](https://awesome-repositories.com/f/web-development/web-automation-scraping/browser-dialog-event-handlers/programmatic-dialog-interfaces.md) — Replaces native browser alert, confirm, and prompt functions with a non-blocking, stylized modal API.
- [Form Input Collection](https://awesome-repositories.com/f/web-development/form-input-collection.md) — Provides a programmatic interface to collect text, passwords, and selection data through modal dialogs.
- [Key-Based String Localizations](https://awesome-repositories.com/f/web-development/internationalization-localization/translation-management-platforms/site-localization/multi-language-content-delivery/locale-based-filters/content-translation/key-based-string-localizations.md) — Supports translating dialog button labels and content using key-based lookup tables for different locales.

### Programming Languages & Runtimes

- [Functional Event Callbacks](https://awesome-repositories.com/f/programming-languages-runtimes/higher-order-function-toolkits/functional-event-callbacks.md) — Uses functional callbacks to execute user-defined logic when dialog buttons are clicked or modal states change.

### Software Engineering & Architecture

- [Configuration Objects](https://awesome-repositories.com/f/software-engineering-architecture/configuration-objects.md) — Implements configuration objects to define dialog size, centering, and visual styling during initialization.
