Templui

templUI component library for Go templ apps. templUI is vanilla JavaScript only - zero JS frameworks (per templui.io). Covers Script() setup, Go variable interpolation into inline JavaScript, HTML-to-templ conversion, HTMX integration, and optional Alpine.js as a separate app-level state layer. Use when user pastes templUI/templ code, builds templUI components, asks 'how do I add an icon/button/dialog/dropdown' in templ, or interpolates Go state into client-side scripts. SKIP generic htmx issues with no templUI/component context.

gopherguides 9e780ac 6 files · 14.5 KB Updated

File contents

gopherguides/gopher-ai/tree/main/plugins/go-web/skills/templui commit 9e780acf7a

Frequently asked questions

npx skillmds@latest add gopherguides/templui