
Bootstrap 6 alpha 2 arrives with native flexbox gaps, combobox, overlays & security fixes
The Bootstrap team has released the second alpha of Bootstrap 6, roughly a month after the framework's first alpha. The update ships with a broad set of improvements across the grid, forms, and overlay components, alongside two security advisories that the maintainers are urging alpha 1 users to address promptly by upgrading. Among the headline changes is a modernized flexbox grid: rows now rely on CSS-native gap instead of padding-based gutters and negative margins, simplifying layouts while keeping the familiar .g-, .gx-, and .gy- utility classes intact.
Forms see significant attention in this release. A new combobox component consolidates search, single and multiple selection, and custom values into a single widget, entirely replacing the overlapping Chip input component. Developers migrating should note that multiple selections now submit as separate fields sharing the same name. Other fixes include a date picker that respects the selected locale and submits ISO dates, refreshed fill and tick marks for range controls, and a new form validation playground in the documentation. Overlay components also gain polish: dialog and drawer now compensate for scrollbar space when the page is locked, menu opens submenus in place on narrow screens, and both tabs and collapse can deep-link from a URL fragment via data-bs-hash. Improved forced-colors styles ensure controls remain visible under system palettes such as Windows high contrast themes.
Notably, the release includes two security advisories: a date picker fix restricting which calendar options can come from HTML and a toggler fix blocking unsafe HTML attribute updates. Alpha 2 also raises minimum browser requirements to Chrome and Edge 138, Firefox 147, and Safari 26 on macOS and iOS, with a migration guide covering changes to color opacity utilities, component tokens, and JavaScript behavior. Developers can try the release with npm install bootstrap@6.0.0-alpha.2.
No comments so far, maybe you want to be first?


