GitHunt
GE

genesysflow/iconify

Iconify svg usable in templ

Iconify for go Templ

Go Reference
License: MIT

genesysflow/iconify is a Go library that allows you to easily use Iconify icons in your Templ templates. Iconify provides a large collection of icons from various icon sets, and this library integrates them seamlessly with the Templ templating engine.

Features

  • Easy integration of Iconify icons in Templ templates
  • No API calls are needed. Just use the template functions to get an SVG.
  • Lightweight and simple to use
  • Supported icon sets:
    • mdi
    • fa

Installation

To install genesysflow/iconify, use go get:

go get github.com/genesysflow/iconify

Example

package view

import (
    "github.com/genesysflow/iconify/mdi"
)

templ Example() {
    @mdi.IconAlien()
}

Languages

Go100.0%

Contributors

MIT License
Created July 26, 2024
Updated February 13, 2025
genesysflow/iconify | GitHunt