HTMX

Server-Side Generation

Click the button to fetch a random string from the server with a built-in delay to demonstrate the loading spinner. The response replaces the content below using HTMX swapping.

Alpine.js

Client-Side Reactivity

A simple counter demonstrating Alpine.js reactive state. All changes happen instantly in the browser.

Current Count
↑ positive ↓ negative neutral