This project is not covered by Drupal’s security advisory policy.
This module allows you to define "bundles" of svg icons in a module or theme *.icons.yml
file. These icons are available through an Icon Field (provided by this module) or a render array with the icon
type.
Icons are embedded as an svg
element directly into your HTML. Either with the full svg code using the svg-files embed method or a use
element with xlink:href
for the svg-map embed method (this method requires using symbol
elements with id
attributes in your svg sprite file).
Please refer to the README file for instructions and more information.
Optional submodules providing icon bundles:
-
Icon Bundles: Material Icons (icon_bundles_material_icons)
- Google's "material design" icons (v3.0.1)
- Hundreds of icons across 16 categories/bundles
- Icons grouped in svg sprite sheets with symbols
- Small file size (each sprite sheet 1-63kb)
-
Icon Bundles: Bootstrap Icons (icon_bundles_bootstrap_icons)
- Bootstrap's icons (v1.2.1)
- About 1,200 icons (all in one bundle)
- One ~630kb svg sprite sheet
Project information
- Minimally maintained
Maintainers monitor issues, but fast responses are not guaranteed. - 1 site reports using this module
- Created by cantrellnm on , updated
- This project is not covered by the security advisory policy.
Use at your own risk! It may have publicly disclosed vulnerabilities.