bootstrap_icons
No security coverage
Integrates the Bootstrap Icons library with Drupal's Icon API (11.1+), providing 2000+ free, MIT-licensed SVG icons as a registered icon pack — no JavaScript runtime required.
Browse all available icons at icons.getbootstrap.com.
Features
- 2000+ icons auto-discovered and registered with Drupal's Icon API
- Zero JavaScript — icons are inlined at render time, server-side
- Sizeable — icons accept a
sizesetting (px) per render array - Drush command —
drush bootstrap_icons:downloadto install the SVG library - Composer support — install the vendor library via
composer.libraries.json - Icon pack — icons are discoverable via the
plugin.manager.icon_packservice - Fully OOP — no procedural code, modern PHP 8.3+ with attributes
Requirements
- Drupal 11.1+
- PHP 8.3+
- The Bootstrap Icons SVG library installed in
/libraries/bootstrap-icons/
Other icon packs
- Lucide — 1900+ beautiful, consistent, hand-crafted SVG icons from lucide.dev.
License
- Module: GPL-2.0-or-later
- Bootstrap Icons: MIT License
For installation, usage, and technical details see README.md.