Download
Download Boosted to get the compiled CSS and JavaScript, source code, or include it with your favorite package managers like npm, RubyGems, and more.
Compiled CSS and JS
Download ready-to-use compiled code for Boosted v5.3.3 to easily drop into your project, which includes:
- Compiled and minified CSS bundles (see CSS files comparison)
- Compiled and minified JavaScript plugins (see JS files comparison)
This doesn’t include documentation, source files, or any optional JavaScript dependencies like Popper.
Source files
Compile Boosted 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 Boosted and its docs, but they’re likely unsuitable for your own purposes.
Examples
If you want to download and examine our examples, you can grab the already built examples:
CDN via jsDelivr
Skip the download with jsDelivr to deliver cached version of Boosted’s compiled CSS and JS to your project.
<link href="https://cdn.jsdelivr.net" rel="preconnect" crossorigin="anonymous">
<link href="https://cdn.jsdelivr.net/npm/boosted@5.3.3/dist/css/boosted.min.css" rel="stylesheet" integrity="sha384-laZ3JUZ5Ln2YqhfBvadDpNyBo7w5qmWaRnnXuRwNhJeTEFuSdGbzl4ZGHAEnTozR" crossorigin="anonymous">
<script src="https://cdn.jsdelivr.net/npm/boosted@5.3.3/dist/js/boosted.bundle.min.js" integrity="sha384-3RoJImQ+Yz4jAyP6xW29kJhqJOE3rdjuu9wkNycjCuDnGAtC/crm79mLcwj1w2o/" crossorigin="anonymous"></script>
If you’re using our compiled JavaScript and prefer to include Popper separately, add Popper before our JS, via a CDN preferably.
<script src="https://cdn.jsdelivr.net/npm/@popperjs/core@2.11.8/dist/umd/popper.min.js" integrity="sha384-I7E8VVD/ismYTF4hNIPjVp/Zjvgyol6VFvRkX/vR+Vc4jQkC+hVqc2pM8ODewa9r" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/boosted@5.3.3/dist/js/boosted.min.js" integrity="sha384-TfjOlWccrKKSEc/hJqxs6Tofoh4+tlm//VJYb92Ow7aPNtgfaKuuLsnFqObi3xmp" crossorigin="anonymous"></script>
Resource Hints
Make sure to use preconnect
resource hint where appropriate (only when given URL will be used).
Alternative CDNs
We recommend jsDelivr and use it ourselves in our documentation. However, in some cases—like in some specific countries or environments—you may need to use other CDN providers like cdnjs or unpkg.
You’ll find the same files on these CDN providers, albeit with different URLs. With cdnjs, you can use this direct Boosted package link to copy and paste ready-to-use HTML snippets for each dist file from any version of Boosted.
Note that you should compare same length hashes, e.g. sha384
with sha384
, otherwise it’s expected for them to be different.
As such, you can use an online tool like SRI Hash Generator to make sure that the hashes are the same for a given file.
Alternatively, assuming you have OpenSSL installed, you can achieve the same from the CLI, for example:
openssl dgst -sha384 -binary boosted.min.js | openssl base64 -A
npm
Install Boosted in your Node.js powered apps with the npm package:
npm install boosted@5.3.3
const boosted = require('boosted')
or import boosted from 'boosted'
will load all of Boosted’s plugins onto a boosted
object.
The boosted
module itself exports all of our plugins. You can manually load Boosted’s plugins individually by loading the /js/dist/*.js
files under the package’s top-level directory.
Boosted’s package.json
contains some additional metadata under the following keys:
sass
- path to Boosted’s main Sass source filestyle
- path to Boosted’s non-minified CSS that’s been compiled using the default settings (no customization)
yarn
Install Boosted in your Node.js powered apps with the yarn package:
yarn add boosted@5.3.3
Composer
You can also install and manage Boosted’s Sass and JavaScript using Composer:
composer require orange-opensource/orange-boosted-bootstrap:5.3.3
NuGet
If you develop in .NET Framework, you can also install and manage Boosted’s CSS or Sass and JavaScript using NuGet. Newer projects should use libman or another method as NuGet is designed for compiled code, not frontend assets.
Install-Package boosted
Install-Package boosted.sass