Paul Krill
Editor at Large

Bootstrap 5.0 alpha arrives, sans jQuery

news
Jun 19, 20202 mins

Update to the mobile-first website framework promises lighter file sizes and faster page loading

cowboy boots
Credit: skeeze

Version 5.0 of the Bootstrap framework for building mobile-first websites has moved to an alpha release stage, with the toolkit no longer dependent on the jQuery JavaScript library.

Removing the dependency on jQuery was enabled by advancements in front-end development tools and browser support. As a result, projects built on Bootstrap 5 will be significantly lighter on file sizes and page loading.

Builders of Bootstrap pledge to build tools that are more “future-friendly,” focusing on the promise of CSS variables, faster JavaScript, fewer dependencies, and better APIs. The builders warn, though, that breaking changes will continue to happen until the release of the first Bootstrap 5 beta. Unveiled on June 16, the Bootstrap 5 alpha is available at v5.getbootsrap.com.

Specific capabilities of Bootstrap 5.0 include:

  • The bulk of the Button plug-in for an HTML and CSS-only approach to toggle states has been dropped. Toggle buttons now are powered by checkboxes. Also, radio buttons are more reliable.
  • Custom CSS properties now are being used, enabled by dropping support for Microsoft’s legacy Internet Explorer browser. The project is looking to enable the “superpowers” of Sass and CSS custom properties for more flexibility.
  • Documentation has been improved, with more explanation, less ambiguity, and more support for extending the framework. A new Customize section is featured.
  • The color palette has been expanded for app look and feel.
  • Documentation and components for forms have been overhauled.
  • A new utilities API is featured, with a language and syntax in Sass to create utilities on the fly.
  • An enhanced grid system is featured, with a new grid tier, the addition of vertical spacing classes, and replacement of .gutter classes with .gx* utilities.

Another alpha release is anticipated for the next three to four weeks, with a couple more likely to follow. Future plans for Bootstrap call for RTL (right to left) and offcanvas capabilities. A forked version of the Bootstrap modal illustrates an offcanvas menu. The intent is to have an offcanvas wrapper to place sidebar content such as navigation controls or a shopping cart. Other evaluations are being made such as increased usage of CSS properties and embedding SVGs in HTML instead of CSS.

Paul Krill

Paul Krill is editor at large at InfoWorld. Paul has been covering computer technology as a news and feature reporter for more than 35 years, including 30 years at InfoWorld. He has specialized in coverage of software development tools and technologies since the 1990s, and he continues to lead InfoWorld’s news coverage of software development platforms including Java and .NET and programming languages including JavaScript, TypeScript, PHP, Python, Ruby, Rust, and Go. Long trusted as a reporter who prioritizes accuracy, integrity, and the best interests of readers, Paul is sought out by technology companies and industry organizations who want to reach InfoWorld’s audience of software developers and other information technology professionals. Paul has won a “Best Technology News Coverage” award from IDG.

More from this author