# htmx 4

Enhance HTML.

Source: [Console review](<https://console.dev/tools/htmx-4>)

Website: [https://four.htmx.org](<https://four.htmx.org/>)

Profile updated: 2026-10-16

Category: [Frontend frameworks](<https://console.dev/tools/categories/developer-tools-frontend-framework>)

## Supported tech stack

Research checked: 2026-10-11

### Runs on

- Browser (Runtime)

### Integrates with

- HTML (Language)
- JavaScript (Language)

### Written in

- JavaScript (Language)

Source: [Research source](<https://four.htmx.org/docs/>)

Documented compatibility; coverage may be incomplete. Written in describes implementation, not user-project language support.

htmx 4 is a dependency-free JavaScript library adding browser behavior through HTML attributes.

## Console’s review — 2026-09-10

Reviewed: 2026-09-10

Author: [David Mytton](<https://console.dev/about#david-mytton>)

Citation: [This review](<https://console.dev/tools/htmx-4#review_1ddb799c2c86f0a6a159a94b52cdd0acbce94a865a6a9c8ecc86005bf1a1ba32>)

### What we like

Simplifies the approach to adding attributes to HTML tags for dynamic features. Now uses fetch(). Makes it easy to implement features like infinite scroll, form post, search as you type, polling, and streaming responses. Still pretty minimal (11kb) and no dependencies.

### Tradeoffs

Lots of attributes littered all over your HTML, but that is the point.

This review reflects Console’s assessment at publication on 2026-09-10. Features and limitations may have changed since the review date.

## Is htmx 4 a fit?

Based on [Console’s review published on 2026-09-10](<https://console.dev/tools/htmx-4#review_1ddb799c2c86f0a6a159a94b52cdd0acbce94a865a6a9c8ecc86005bf1a1ba32>).

Summary updated: 2026-10-16

### Who it’s for

Developers who want to add dynamic features to HTML

### Why consider it

It simplifies the approach to adding attributes to HTML tags for dynamic features

### Keep in mind

It can result in lots of attributes in the HTML

[Selection criteria](<https://console.dev/selection-criteria>) · [About Console](<https://console.dev/about>) · [Browse tools](<https://console.dev/tools>)
