Skip to content

gsxHTML as a first-class Go value

templ-style components, JSX-style markup, compiled to plain Go. A standard-library-only runtime.

gsx

Status — alpha. gsx is runnable end-to-end: gsx generate compiles .gsx → .x.go (plus gsx fmt and gsx info). Codegen covers interpolation, control flow, attributes with contextual escaping, the |> pipeline + filters, components/props/{children}, method components, named slots, and attribute fallthrough. Still in progress: some CLI commands (vet/lsp), style composition, and structured diagnostics.