element-html-builder
Installation
SKILL.md
Element - AI Agent Documentation
Programmatic HTML generation in Go without templates.
Overview
Element is a zero-dependency Go library that generates HTML programmatically by leveraging Go's natural function execution order. Instead of templates, you write Go code that mirrors HTML's tree structure.
Benefits
- You never leave the safety, speed, and familiarity of Go
- Compiles single-pass with the rest of your Go program -- no extra annotations or build steps
- All of Go is available at any point in your code
- Zero dependencies
- Buffer pools for super-high traffic situations
- Go's formatting naturally follows the HTML tree structure