Skip to content

gohugoio/hugo-mod-heroicons

master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 

Heroicons is a set of free MIT-licensed high-quality SVG icons for you to use in your web projects.

224 icons per style currently, more to come in the future. See https://github.com/refactoringui/heroicons

Use

Import the module into your Hugo project's site config:

[[module.imports]]
path = "github.com/gohugoio/hugo-mod-heroicons"

The icons gets mounted in assets/svg/heroicons.

This means that they can be used like this in a Hugo template:

{{ $icon := resources.Get "svg/heroicons/outline/search.svg" }}
{{ $icon.Content | safeHTML }}

See https://github.com/refactoringui/heroicons/tree/master/src for a full list of icons.

About

Work In Progress: Provides Heroicons as a simple to use Hugo Module

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

 

Packages

No packages published