htmx is designed around extending HTML to provide more means of client/server interaction, allowing for arbitrary requests to the server triggered by client events and dynamically updating a page based on HTML from the server. This is more similar to alpinejs where you can put javascript in your HTML to make the page dynamic.