Skip to content
Kitbay
Skill

bootstrap-utility-api

MITUpdated on Nov 11, 2026175,039GitHub stars

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

What the skill teaches

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.

Capabilities

  • 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