Hugo
Go
SVG
CLI
Hicons
Hugo SVG Icons Support
Hicons is designed to bridge the gap between heavy icon libraries and Hugo’s performance-first philosophy. By scanning your codebase, it ensures only the SVGs you actually use are included in your build, keeping your DOM clean and your Lighthouse scores high.
Why Hicons?
Many Hugo sites either copy-paste SVGs manually (tedious) or use a giant partial with hundreds of hidden SVGs (slow). Hicons automates the process by maintaining a single icons.html partial that updates in real-time as you code.
Core Excellence
Automatic Icon Detection in Layouts
Minified SVG Generation
Support for Lucide and Feather sets
Live Watch Mode for Development
Tailwind CSS Class Compatibility