Skip to content

wux4an/lucide-templ

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

Lucide Icons For Golang Templ

Unnofial package for lucide icons

Important

The main branch is autogenerated by github actions, for development see the dev branch

Installation

go get github.com/wux4an/lucide-templ@latest

Usage:

package main

import (
  lucide "github.com/wux4an/lucide-templ/icons"
)

templ Animal(name string) {
	<div>
    <h1>Hello, { name }</h1>
    @lucide.PawPrint(templ.Attributes{"class": "icon"})
  </div>
  <style>
    .icon {
      color: #b76a24;
    }
  </style>
}

Warning

Disclaimer: This package uses the official Lucide icons, respecting its open license. It is not affiliated with or endorsed by the Lucide team.