Open Source
htmx
High power tools for HTML
Access AJAX, CSS Transitions, WebSockets and Server Sent Events directly in HTML using attributes to build modern user interfaces.
Mission brief

htmx is a library that gives you access to AJAX, CSS Transitions, WebSockets and Server Sent Events directly in HTML using attributes. This allows you to build modern user interfaces with the simplicity and power of hypertext.
The library is small (~16k min.gz'd), dependency-free, extendable and has reduced code base sizes by 67% when compared with react. htmx removes constraints on HTML by allowing any element to make HTTP requests and respond to various events, not just links and forms responding to clicks and submits.
htmx is the successor to intercooler.js. Version 2.x has dropped IE support, while the 1.x code-line continues to be supported for those requiring IE compatibility.
Payload
- AJAX requests
- CSS Transitions
- WebSockets support
- Server Sent Events
- HTML attribute-based API
Compare and explore
See the alternatives to htmx, more in Open Source.
Questions from the ground
What is htmx?
htmx is a library that gives you access to AJAX, CSS Transitions, WebSockets and Server Sent Events directly in HTML using attributes, allowing you to build modern user interfaces with the simplicity and power of hypertext.
What does htmx do?
htmx removes constraints on HTML by allowing any element to make HTTP requests and respond to various events. It enables you to issue AJAX requests from any HTML element and replace any part of the page with the response.
How large is htmx?
htmx is small at approximately 16k minified and gzipped, is dependency-free, and has been shown to reduce code base sizes by 67% when compared with react.
Does htmx support Internet Explorer?
htmx 2.x has dropped IE support. If you require IE support you can use the 1.x code-line, which will be supported in perpetuity.
Leave a review for htmx
No reviews logged for htmx yet. Send the first one up. Free to review. Reviews can never be bought.
htmx has a free listing. The owner can unlock the full profile with a paid launch for $5:
- Founder story (locked)
- Milestones (locked)
- Demo video (locked)
- Dofollow website link: not on this free listing (its website link is nofollow)