What problem does it solve?
Adds interactivity to HTML without heavy JavaScript frameworks, enabling AJAX-like requests, real-time updates, and richer UI without a full client-side framework.
Core Features & Use Cases
- AJAX-style interactions using simple HTML attributes (hx-get, hx-post, hx-target, hx-trigger, hx-swap).
- Real-time updates via WebSockets and Server-Sent Events, with extensible behavior through optional extensions.
- Progressive enhancement: pages work without JavaScript, then progressively upgrade with attributes to deliver dynamic experiences.
- Use Case: Convert a static list page into a live, interactive interface where items load, swap, and respond to user actions without writing custom JavaScript.
Quick Start
Add hx-get, hx-post, and related attributes to your HTML elements to enable AJAX-like interactions without JavaScript frameworks.