Skip to content
Kitbay
Skill

bootstrap-v4-v6-migration

MITUpdated on Nov 11, 2026175,039GitHub stars

A skill kept in the Bootstrap repository for moving a site from Bootstrap 4 to Bootstrap 6.

What the skill teaches

A skill kept in the Bootstrap repository for moving a site from Bootstrap 4 to Bootstrap 6. It insists on two stages: first get the project building and working on version 5, commit that, and only then hand over to the separate 5-to-6 migration skill. For the first stage it covers switching to Dart Sass and the new Popper package, renamed Sass functions and shifted breakpoint mixins, data attributes that gain a bs prefix, replacing jQuery plugin calls with native constructors, and tables of renamed or removed classes for utilities, forms, grids and components. It ends with searches for leftover version 4 patterns and a manual click-through of interactive parts.

Capabilities

  • Plan a two-stage upgrade from Bootstrap 4 through 5 to 6
  • Update Sass functions, mixins and breakpoints
  • Replace jQuery plugin calls with Bootstrap 5 constructors
  • Rename changed classes and data attributes