Pular para o conteúdo
Kitbay
Skill

bootstrap-v5-v6-migration

MITAtualizado em 11 de nov. de 2026175.039Estrelas no GitHub

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.

O que a skill ensina

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.

O que faz

  • 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