Bootstrap 5 – An Overview – What’s new and What’s Changed

Bootstrap 5 Overview

Bootstrap 5 is a major modernization of the framework, focusing on performance, customization, and removing legacy dependencies. The biggest shift is the move away from jQuery, alongside a refreshed design system, new utilities, and dropped support for older browsers.

🚀 Key New Features in Bootstrap 5

  • Vanilla JavaScript — All components rewritten without jQuery, reducing bundle size and improving performance.
  • CSS Custom Properties — Extensive use of CSS variables for easier theming and dynamic styling.
  • XXL Breakpoint — New xxl grid tier for screens ≥1400px.
  • Utilities API — Generate or customize utility classes programmatically.
  • Offcanvas Component — Slide‑in panels for navigation or UI elements.
  • Bootstrap Icons — Official SVG icon library integrated into the ecosystem.
  • Improved Forms — Redesigned form controls, floating labels, and consistent cross‑browser styling.
  • Dark Mode Support — Easier to implement via CSS variables.

🔧 Major Changes from Bootstrap 4

  • jQuery Removed — Components now use a new JS API.
  • IE11 Support Dropped — Allows use of modern CSS/JS features.
  • Updated Grid System — Adds xxl, updates gutter classes (g-*, gx-*, gy-*).
  • Reworked Utilities — More granular spacing, display, flex, and color utilities.
  • Improved Modals & Dropdowns — Better accessibility and customization.
  • Sass & CSS Updates — Cleaner variable structure and more modular architecture.