Bootstrap v4.6.1

@mdo October 28, 2021

Bootstrap v4.6.1 has finally arrived! Biggest change here is a re-implementation of our Sass division functions and updates from v5, as well as some accessibility improvements and general bug fixes.

Read on for the highlights or head to the v4.6.x docs to see the latest in action.

What’s changed

  • Replace Sass division with multiplication and custom divide() function
  • fix(forms): input-group and validation icons
  • Fix minor visual bug in FF caused by moz-focusring
  • Adjust SAFE_URL_PATTERN regex for use with test method of regexes
  • Add sms in the SAFE_URL_PATTERN for sanitizer
  • Adjust feedback icon position and padding for select.form-control
  • Carousel: use buttons, not links, for prev/next controls
  • v4: Sass docs for default variables
  • Handle complex expressions in add() & subtract()
  • More concise improvements for add() and subtract()
  • Remove aria-haspopup from dropdowns
  • Dropdown: support .dropdown-item wrapped in <li> tags
  • Update Node versions in JS tests (drop Node 10, add Node 16) and add variables for vertical-align in spinners
  • Replace Freenode with Libera IRC server
  • Fix repetition in the Navbar docs description
  • Enable 0.x with negative margins in utilities
  • Remove print thead rule
  • Fix prevented show event disabling modals with fade class from being displayed again
  • Input group validation with custom-file input
  • Add eslint-plugin-qunit and tighten JS tests
  • Update our tests to Node 16 and npm 8
  • Disabled link cleanup

Review the GitHub v4.6.1 release changelog for more details.

Next up

We’ll be flipping back to v5 development after this release, focusing on v5.2.0 with some additional updates to using more CSS variables and other awesome features. Sometime after that, we hope to ship a v4.7.0 release with some additional backported features and improvements to v4.

Please keep the feedback coming on what we can improve, how our releases are performing, and any other suggestions.

Support the team

Visit our Open Collective page or our team members’ GitHub profiles to help support the maintainers contributing to Bootstrap.

Bootstrap Icons v1.6.0

@mdo October 13, 2021

Bootstrap Icons v1.6.0 adds over 30 new icons, adds official Composer support, includes a new .scss stylesheet for the icon font, plus some other enhancements and bug fixes. Keep reading to see what’s new!

1,400+ icons

We’ve officially passed 1,400 glyphs in Bootstrap Icons with this release—woohoo! Seems utterly insane to me that the project has come this far and there are still so many more icons to include.

New icons in v1.6.0

We have a few dozen new and updated icons in this release, including:

  • New brand icons for Apple, Behance, Dribbble, Line, Medium, Microsoft, PayPal, Pinterest, Signal, Snapchat, Spotify, Stack Overflow, Strava, Vimeo, Windows, and WordPress
  • Two new easel variations
  • New fingerprint icon
  • New magic stick
  • New people variations for rolodex, workspace, and video chat
  • New webcam icons
  • New radioactive icon
  • New fan icon
  • New hypnotize icon
  • New yin yang icon
  • New activity/pulse icon
  • Updated large dash, plus, slash, x, i, ?, !, and check icons to have a thinner stroke that better matches other icons
  • Updated lamp icons
  • Updated graph-up and graph-down icons, with the previous ones being renamed to graph-up-arrow and graph-down-arrow

New features

We’ve added a handful of new features and enhancements to how you can use Bootstrap Icons in this release:

  • Added Composer support with automatic publishing to Packagist. See the official package for more information.

  • Added new bootstrap-icons.scss stylesheet for the icon font. This includes font name and path variables, plus a Sass map of icon names and unicode values.

  • Added new .bi CSS selector to the icon font ruleset (in addition to the attribute selectors we had through v1.5.0) to allow for easier @extending of icon styles. This has also been reflected in the new .scss stylesheet.

Our next minor release will continue to see improvements to our icon permalink pages, adding more options for copying and pasting our icons. If you have other suggestions, please don’t hesitate to open a new issue!

Bug fixes

We’ve fixed a few glitches with existing icons in this release:

  • droplet-fill now renders correctly thanks to an updated fill rule
  • lamp and lamp-fill now look more like lamps and less like toilets 😅
  • coin now renders correctly thanks to an updated fill rule
  • cloud now renders correctly thanks to an updated fill rule
  • textarea-resize is no longer incorrectly placed in the viewBox

Found another bug, or have a suggestion? Check out the issue tracker and open an issue if you don’t see one already opened.


To get started, install or update via npm:

npm i bootstrap-icons

Or Composer:

composer require twbs/bootstrap-icons

You can also download the release from GitHub, or download just the SVGs and fonts (without the rest of the repository files).


The Figma file is now published to the Figma Community! It’s the same Bootstrap Icons Figma file you’ve seen from previous releases, just a little more accessible to those using the app.

Bootstrap 5.1.2

@mdo October 05, 2021

Bootstrap v5.1.2 is here with a handful of improvements across our components, plus a fix for an issue in another project that prevented our Sass from compiling properly. Keep reading for the highlights.


  • Temporarily patched a postcss-values-parser issue by rearranging our calc() functions that use negative numbers. This should restore the ability to import and compile Bootstrap’s Sass in create-react-app.
  • Added border-radius sizes to small and large .form-selects
  • Added align-self: center to buttons for improved rendering in flex containers
  • Fixed Collapse regression that prevented toggling between sibling children
  • Updated JS Sanitizer to add sms in the SAFE_URL_PATTERN
  • Improved docs around .img-fluid
  • Added role="switch" to our form switches in our docs
  • Implemented GitHub Issue forms to replace our previous issue templates.

Up next

Up next is our v5.2.0 release, adding more utility improvements and fixing an issue with how Sass handles re-assigned maps and variables. Alongside that, we’ll be shipping an update to v4 soon as well.

Get the release

Head to for the latest. It’s also been pushed to npm:

npm i bootstrap

Review the GitHub v5.1.2 release changelog for a complete list of changes since our last release.

Support the team

Visit our Open Collective page or our team members’ GitHub profiles to help support the maintainers contributing to Bootstrap.

Bootstrap 5.1.1

@mdo September 07, 2021

Bootstrap v5.1.1 has landed with a handful of bug fixes and documentation improvements. Following this release, we’ll be shipping another bugfix and docs update before moving onto additional new features. Keep reading for the highlights.


  • Fixed broken .bg-body utility. This was caused by the same --body-rgb CSS variable for both text and background. --body-rgb is now split into --body-color-rgb and --body-bg-rgb for proper usage. While this could be considered a breaking change, the current implementation was outright broken, so we’ve chosen to address this head-on.
  • All CSS dist builds now include _root.scss and all our :root-level CSS variables. The goal here is consistency across the distribution files so that no matter what CSS build you use, you have the same level of customization potential.
  • Updated global options page to document $enable-smooth-scroll variable.
  • Added callout to the Stacks page about gap browser support with flexbox.
  • Cleaned up documentation and usage of disabled links, especially for <a> based buttons.
  • Fixed toggle between modal regression. See docs example.
  • Fixed regression in tooltips where content doesn’t update after the first show().
  • Fixed collapse toggle unintentionally hiding descendant tab panels.
  • Improved Alerts live example documentation.
  • Updated $dropdown-link-hover-color to modify the $dropdown-link-color instead of base $gray-900 variable for improved customization.
  • Clarified JavaScript import usage for our Webpack guide.

About Sass compilers

We’ve had a number of Visual Studio users mention that Sass compiling for Bootstrap 5.1.0 is broken when using the Web Compiler extension. This extension hasn’t been updated in more than five years, so we recommend moving to a newer alternative. Some users mentioned the Sass Compiler extension as a successful alternative. If you have additional recommendations, please leave a comment to share.

Get the release

Head to for the latest. It’s also been pushed to npm:

npm i bootstrap

Review the GitHub v5.1.1 release changelog for a complete list of changes since our last release.

Support the team

Visit our Open Collective page or our team members’ GitHub profiles to help support the maintainers contributing to Bootstrap.

Ten Years of Bootstrap

@mdo August 19, 2021

Ten years ago today, we shipped the first release of Bootstrap. Releasing it on GitHub was my first real plunge into open source—what an introduction! Here we are a decade later with one of the most widely used open source projects and frontend toolkits on the web. Happy birthday, Bootstrap—what a ride!

While numbers certainly don’t tell the whole story, Bootstrap has reached some incredible milestones over the past decade. Here are some highlights:

  • Over 2.5 billion pageviews for our docs. That’s more than 685,000 a day.
  • 394,000,000 npm downloads since 2015—over 131 million of which were in 2020 alone. That’s 180,000 a day over the last six years.
  • 50 million RubyGems downloads
  • 57 million NuGet downloads
  • 7.5 million Packagist installs
  • Used by over 22% of all websites
  • Used by 2.7 million projects on GitHub
  • Over 21,100 commits on GitHub with nearly 35,000 issues and pull requests

Hidden in all those numbers are millions and millions of people that interact with Bootstrap just by visiting the sites and apps built with it. It’s still mind-blowing to see what’s been built with it after over the years, especially with how it all started.

Back in early 2011, the two of us were just a couple of nerds working at Twitter—Jacob was an engineer working on internal tools, me a product designer working on ads. Our paths crossed when the project I was working on needed to have its own internal tools app built for managing Twitter ad campaigns. Over a few months, we started working more and more together before ultimately deciding to release our project to the world.

Here we are 10 years later, still just a handful of nerds doing what we love, contributing to open source, and having an impact on people’s lives through our work. Bootstrap continues to be a passion project for me, from major rewrites to new features and from a growing icon library to a full-blown marketplace. It’s been an incredible journey, and one that’s still going strong thanks to the community’s love and the support of a small group of maintainers over the years.

The maintainers and contributors deserve the utmost thanks and appreciation. Please join me in thanking them—and every other open source maintainer!—whenever and however frequently you can. While this list can never fully represent all the contributions made to Bootstrap, I want to give a special shoutout to maintainers past and present, and some of the most prolific contributors.

Thank you again, folks. And to everyone who has used Bootstrap over the years, thank you for making a decade of building with Bootstrap possible. Cheers to whatever comes next, and see you soon for our next release.