Skip to main content
GOHUGO
Icons

Icons

This is a Hugo theme component that adds several icon sets to your Hugo website.

Add this module
[[module.imports]]
path = "github.com/davidsneighbour/hugo-icons"
disable = false
ignoreConfig = false
ignoreImports = false
Latest Version
modules/icons/v1.2023.3 (2023-10-15)

Available Icon Fonts

Usage

This module adds sample pages with a list of all available icons when run in development mode:

  • Bootstrap Icons at http://localhost:1313/dnb/bootstrap-icons/.
  • Hero Icons at http://localhost:1313/dnb/heroicons/.
  • Tabler Icons at http://localhost:1313/dnb/tabler-icons/.

Call these icons as partials:

1{{ partialCached "bsicon.html" "arrow-right" "arrow-right" }}
2{{ partialCached "heroicon.html" "arrow-right" "arrow-right" }}
3{{ partialCached "tablericon.html" "arrow-right" "arrow-right" }}
Back to top