Zum Inhalt springen
Kitbay
Skill

bootstrap-utility-api

MITAktualisiert am 11. Nov. 2026175.039GitHub-Sterne

A skill kept in the Bootstrap repository about Bootstrap 6's utility API, the Sass map that generates every utility class.

Was der Skill vermittelt

A skill kept in the Bootstrap repository about Bootstrap 6's utility API, the Sass map that generates every utility class. It explains how the generator works and which keys a utility group accepts, then shows how to add a new utility, change or remove a default one (the merge is shallow, so a changed group must be restated in full), and switch on responsive, hover, print or dark variants. It also covers trimming the compiled CSS, the steps for contributing a utility to Bootstrap itself with docs and tests, and how to check the result by linting, building and searching the output CSS.

Funktionen

  • Add custom utility classes through Bootstrap's Sass map
  • Change or remove default utilities
  • Enable responsive, state, print and dark variants
  • Trim unused utilities from the compiled CSS