-- still needs to be written .... At the moment only supports Heroicons (made by TailwindCss Creator )
Import it as a module
go get "github.com/livghit/TempIcons"
Use the Icons
package main
import "github.com/livghit/TempIcons/heroicons"
func main(){
icon := heroicons.AcademicCap()
icon.Render(context.Background(), os.Stdout)
}
// or just add it inside a templ file
package templates
import "github.com/livghit/TempIcons/heroicons"
templ Layout(title string){
<html>
<head>
<title>{title}</title>
</head>
<body>
<button> {{ heroicons.AcademicCap() }} </button>
</body>
</html>
}