Pular para o conteúdo
Kitbay
Skill

bootstrap-utility-api

MITAtualizado em 11 de nov. de 2026175.039Estrelas no GitHub

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

O que a skill ensina

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.

O que faz

  • 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