Compiled CSS and JS (Recommended)
Download ready-to-use compiled code for Modus Bootstrap v2.0.7 to easily drop into your project, which includes compiled and minified CSS bundles (see CSS files comparison)
This doesn’t include documentation, source files, or any optional JavaScript dependencies like Popper.
Source files
Compile Modus Bootstrap with your own asset pipeline by downloading our source Sass, JavaScript, and documentation files. This option requires some additional tooling:
- Sass compiler for compiling Sass source files into CSS files
- Autoprefixer for CSS vendor prefixing
Should you require our full set of build tools, they are included for developing Bootstrap and its docs, but they’re likely unsuitable for your own purposes.
CDN via jsDelivr
Skip the download with jsDelivr to deliver cached version of Modus Bootstrap’s compiled CSS and JS to your project.
<link href="https://cdn.jsdelivr.net/npm/@trimble-oss/modus-bootstrap@2.0.6/dist/css/modus-bootstrap.min.css" rel="stylesheet" crossorigin="anonymous">
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/js/bootstrap.bundle.min.js" crossorigin="anonymous"></script>
Package managers
Pull in Modus Bootstrap’s source files into nearly any project with some of the most popular package managers. No matter the package manager, Bootstrap will require a Sass compiler and Autoprefixer for a setup that matches our official compiled versions.
npm
Install Modus Bootstrap in your Node.js powered apps with the npm package:
npm install @trimble-oss/modus-bootstrap
Bootstrap’s package.json
contains some additional metadata under the following keys:
sass
- path to Modus Bootstrap’s main Sass source filestyle
- path to Modus Bootstrap’s non-minified CSS that’s been precompiled using the default settings (no customization)
yarn
Install Modus Bootstrap in your Node.js powered apps with the yarn package:
yarn add @trimble-oss/modus-bootstrap