/examples

Functional examples of using Bootstrap in common JS frameworks like Webpack, Parcel, Vite, and more!

Primary LanguageHTMLMIT LicenseMIT

Bootstrap logo

Bootstrap Examples

Functional examples for building with Bootstrap using popular tools and frameworks.
Explore Bootstrap docs »

Directory

  • Starter – CDN links for our CSS and JS
  • Sass & JS — Import Sass, Autoprefixer, Stylelint, and our JS bundle via npm
  • Sass & ESM JS — Import Sass, Autoprefixer, and Stylelint via npm, and then load our ESM JS with a shim
  • PurgeCSS - import sass w/ purgecss and js via npm
  • Webpack - Import and bundle Sass and JS with Webpack
  • Parcel - Sass, JS via Parcel
  • Vite - Sass, JS via Vite
  • React - react-bootstrap?
  • Bootstrap Icons font - Import and compile Sass, Stylelint, PurgeCSS, and our icon font

License

Licensed MIT.