</> htmx

SuperchargedHTML

~11k min.br'd0 dependencies

htmx is a small library that adds a few attributes to HTML, transforming the hypertext you know & love into a modern, dynamic tool that you can build amazing websites with.

An Example

<button hx-post="/clicked" hx-swap="outerHTML"> Click Me </button>

When this button is clicked, the hx-post attribute tells htmx to send a POST to /clicked and the hx-swap attribute tells htmx to replace the button with the response’s HTML.

The Book

Our book Hypermedia Systems covers how to build applications using htmx.

Hypermedia Systems (hardcover)Hypermedia Systems (softcover)
Read it free online →

Sponsors

Thank you to all our generous sponsors!

silver Sponsors

htmx is the successor to intercooler.js

ʕ •ᴥ•ʔ made in montana