htmx in Drupal Core!

A full featured integration for htmx was added to dependency to Drupal on in 11.3 as part of the Replace AJAX API with HTMX community initiative. Drupal 12 will offer the expanded features of htmx 4.

This module provides extra tools and support for using the HTMX integration found in core.

Drupal 11

Use the 2.x version of this module.

Drupal 12

The 3.x version will now be the default version. New features are added here and backported to 2.x when possible.

Full documentation is available in our documentation site and also included in the docs directory of the module.

You may be wondering

Why do I want htmx over react or vue js?

Read this article about the "Rule of Least Power".

What is Hypermedia

Hypermedia is the basic architecture of the web. Learn more about this foundation and how HTMX aligns the hypermedia capabilities of HTML with HTTP in Hypermedia Systems

Supporting organizations:

Project information

Releases

3.0.0-alpha1 released 31 October 2026
Works with Drupal: ^12

D12 testing release

Install:

Development version: 3.x-dev updated 31 Oct 2026 at 13:36 UTC

2.0.0 Stable release covered by the Drupal Security Team released 27 August 2026
Works with Drupal: ^11.3

Use with core 11.3-11.5

Install:

Development version: 2.x-dev updated 10 Sep 2026 at 12:09 UTC

1.4.3 Stable release covered by the Drupal Security Team released 20 July 2025
Works with Drupal: ^10.3 || ^11
Install:

Development version: 1.4.x-dev updated 21 May 2026 at 10:58 UTC