2025-06-12
htmx
htmx allows you to access AJAX, CSS Transitions, WebSockets and Server Sent Events directly in HTML, using attributes, so you can build modern user interfaces with the simplicity and power of hypertext.
htmx is small (~9k min.gz'd), dependency-free, extendable & IE11 compatible.
Sprig 🌱
Sprig is a free plugin for Craft CMS that allows you to create reactive components from Twig templates and/or PHP classes.
These components can re-render themselves on user-triggered events (clicks, changes to input fields, form submissions, etc.) using AJAXrequests, without requiring you to write a single line of JavaScript.
Sprig enables common use-cases while completely avoiding full page refreshes:
- Live search
- Load more elements (with a button interaction or infinite scroll)
- Paginate, order and filter elements
- Add products to a cart
- Submit forms