templ-htmx

Installation
SKILL.md

Templ + HTMX Integration

Use progressive disclosure: first make one interaction work, then scale to advanced behaviors.

Level 1: First Working Flow

Use this skill for server-driven interactivity without a JS framework.

  1. Mount HTMX assets in server setup.
  2. Include HTMX script in the layout.
  3. Add hx-* attributes to a component.
  4. Return a partial component from the handler.
  5. Branch full-page vs fragment responses with HTMX request detection.
import "within.website/x/web/htmx"
Related skills
Installs
4
Repository
xe/skills
GitHub Stars
5
First Seen
Mar 31, 2026