@sweetalert2/theme-bootstrap-4

sweetalert2
popular
@sweetalert2/theme-bootstrap-4 JS library homepage @sweetalert2/theme-bootstrap-4 JS library on GitHub @sweetalert2/theme-bootstrap-4 JS library on npm Download @sweetalert2/theme-bootstrap-4 JS library

Bootstrap 4 theme for SweetAlert2

Version 5.0.27 License MIT
@sweetalert2/theme-bootstrap-4 JS library homepage
@sweetalert2/theme-bootstrap-4 JS library on GitHub
@sweetalert2/theme-bootstrap-4 JS library on npm
Download @sweetalert2/theme-bootstrap-4 JS library
Keywords
sweetalert2bootstrap-4themethemesthemingsass

@sweetalert2/theme-bootstrap-4 - Bootstrap 4 Theme for SweetAlert2

npm version

Installation

npm install --save sweetalert2 @sweetalert2/theme-bootstrap-4

Usage

With CSS:

<!-- Include the Bootstrap 4 theme -->
<link rel="stylesheet" href="@sweetalert2/theme-bootstrap-4/bootstrap-4.css">

<script src="sweetalert2/dist/sweetalert2.min.js"></script>

With SASS:

your-app.js:

import Swal from 'sweetalert2/dist/sweetalert2.js';

your-app.scss:

@import '@sweetalert2/theme-bootstrap-4/bootstrap-4.scss';