Developer(s) | Carson Gross |
---|---|
Initial release | November 24, 2020[1] |
Stable release | 2.0.2[2]
/ August 12, 2024 |
Repository | github |
Written in | JavaScript |
License | BSD 0-clause[3] |
Website | htmx |
HTML |
---|
Comparisons |
htmx (also stylized as HTMX) is an open-source front-end JavaScript library that extends HTML with custom attributes that enable the use of AJAX directly in HTML and with a hypermedia-driven approach. These attributes allow for the dynamic definition of a web page directly in HTML and CSS, without the need for writing additional JavaScript. These attributes allows tasks that traditionally required writing JavaScript to be done completely with HTML. The library was created by Carson Gross as a new version of intercooler.js.
The library supports communication with the server using standard HTTP methods and simplifies inserting server responses (usually text or HTML fragments) into designated parts of the web page without having to redraw the entire page. This in turn allows for similar behavior to what can be achieved with reconciliation behavior in virtual DOMs.