htmx
| htmx | |
|---|---|
| Developer | Carson Gross |
| Release | November 24, 2020 |
| Stable release | |
| Written in | JavaScript |
| License | BSD 0-clause |
| Website | htmx |
| Repository | github |
| HTML |
|---|
| HTML and variants |
| HTML elements and attributes |
| Editing |
| Character encodings and language |
| Document and browser technology |
| Client-side scripting and APIs |
| Web3D technology |
| Standardizations |
| 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 allow 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.