Zum Inhalt springen
Kitbay
Skill

bootstrap-v5-v6-migration

MITAktualisiert am 11. Nov. 2026175.039GitHub-Sterne

A skill kept in Bootstrap's own repository that walks an agent through upgrading a Bootstrap 5 site to the Bootstrap 6 alpha in six ordered steps, searching for leftover version 5 patterns after each one.

Was der Skill vermittelt

A skill kept in Bootstrap's own repository that walks an agent through upgrading a Bootstrap 5 site to the Bootstrap 6 alpha in six ordered steps, searching for leftover version 5 patterns after each one. It covers dependency and build changes such as Floating UI replacing Popper and Sass moving from @import to @use, renamed classes including the new prefix syntax for responsive classes, Modal, Offcanvas and Dropdown becoming Dialog, Drawer and Menu, new HTML structures built on native dialog and details elements, ES module JavaScript without jQuery, and renamed Sass files and variables. Bootstrap 4 projects are sent to a separate skill.

Funktionen

  • Upgrade dependencies and switch Sass to @use
  • Rename changed classes and components
  • Rewrite markup for native dialog and details elements
  • Move JavaScript to ES module imports