{{ "" | safeHTML }} {{ partial "icons/import.svg" (dict "class" "text-primary mb-2" "width" "32" "height" "32") }}

Installation

Include Bootstrap’s source Sass and JavaScript files via npm, Composer or Meteor. Package managed installs don’t include documentation, but do include our build system and readme.

{{ highlight "npm install bootstrap" "sh" "" }} {{ highlight (printf ("gem install bootstrap -v %s") .Site.Params.current_ruby_version) "sh" "" }}
Read installation docs
{{ "" | safeHTML }} {{ partial "icons/download.svg" (dict "class" "text-primary mb-2" "width" "32" "height" "32") }}

BootstrapCDN

When you only need to include Bootstrap’s compiled CSS or JS, you can use BootstrapCDN.

CSS only
{{ highlight (printf (``) .Site.Params.cdn.css .Site.Params.cdn.css_hash) "html" "" }}
JS and Popper.js
{{ highlight (printf (` `) .Site.Params.cdn.popper .Site.Params.cdn.popper_hash .Site.Params.cdn.js .Site.Params.cdn.js_hash) "html" "" }}
Explore the docs
{{ "" | safeHTML }} {{ partial "icons/lightning.svg" (dict "class" "text-primary mb-2" "width" "32" "height" "32") }}

Official Themes

Take Bootstrap 4 to the next level with official premium themes—toolkits built on Bootstrap with new components and plugins, docs, and build tools.

Bootstrap Themes
Browse themes