Skip to content

genesysflow/iconify

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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()
}