← All projects

htmx

High power tools for HTML

Dev Toolshtmlajaxhypermediajavascriptfrontendweb-developmentno-javascript
htmx screenshot

About

htmx is a lightweight JavaScript library that extends HTML with attributes to enable AJAX requests, CSS transitions, WebSockets, and Server Sent Events directly in markup. It allows developers to build modern, dynamic user interfaces without writing JavaScript, by simply adding custom attributes to HTML elements. It is small (~16k min.gz'd), dependency-free, and compatible with any server-side language.

Problem

Building dynamic web UIs typically requires large JavaScript frameworks, but htmx lets developers add interactivity directly in HTML without the complexity.

For

web developers building server-rendered applications

How it works

Developers add custom HTML attributes (like hx-post and hx-swap) to elements, and htmx intercepts interactions to issue AJAX requests and update the DOM with the server's HTML response.

Business model

open-source

Status

launched

Similar projects