Unnofial package for lucide icons
Important
The main branch is autogenerated by github actions, for development see the dev branch
go get github.com/wux4an/lucide-templ@latest
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.