Hacker News new | ask | show | jobs
by andrewingram 387 days ago
Nit: I just spent about 5 minutes clicking around trying to find out what templ is.

I could've just Googled it sooner, but I was just surprised I couldn't find any reference to the thing it's actually building on/for.

3 comments

I took another look and we do explain what templ is on our introduction page: https://templui.io/docs/introduction#built-on-strong-foundat...

"Templ - Type-safe templating for Go" with a link to templ.guide.

Thanks for the feedback!

Fair point – I’ll make sure to link to https://templ.guide more prominently. Thanks for the heads-up!
What is it
Its a components library for [templ](https://templ.guide/)
templ is kind of like JSX but for Golang, if you are familiar with JSX.

It's a language that compiles down to Go and lets you mix HTML-like syntax into your Go code for HTML templating.

https://templ.guide/

From what I can tell it's a Go-based library for building web UI.