building-templ-components
Installation
SKILL.md
Building Templ Components
Build type-safe HTML user interfaces in Go with the templ templating language. Templ compiles .templ files into Go code, providing compile-time type checking and excellent developer tooling.
Use this skill when creating templ components, working with templ syntax, integrating templ with HTTP servers, or setting up templ development workflows.
Quick Start
Installation
go install github.com/a-h/templ/cmd/templ@latest
Basic Component
Create a .templ file: