motivation
- Why should only
<a>&<form>make HTTP requests? - Why should only
click&submittrigger them? - Why should only
GET&POSTbe available? - Why should every update replace the entire screen?
htmx removes these constraints and completes HTML as a hypertext.
quick example
<button hx-post="/clicked" hx-swap="outerHTML"> Click Me </button>
When clicked, hx-post sends a POST to /clicked and hx-swap replaces the button with the response. No JavaScript.
book
Hypermedia Systems covers how to build HDAs using htmx & more.


sponsors
Thank you to all our generous sponsors!
htmx is the successor to intercooler.js
ʕ •ᴥ•ʔ made in montana