Skip to content
Dev Tools Library

htmx

Interactivity through HTML attributes, with no JavaScript to write.

LibraryOpen source

Library that lets you make requests, swap page fragments and use WebSockets with just HTML attributes, keeping logic on the server.

When to use

For server-rendered apps that need interactivity without an SPA.

When to avoid

For highly interactive interfaces with a lot of client-side state.

Alternatives

They do a similar job. Compare before choosing.

  • Lightweight reactivity, declared straight in the HTML.

    LibraryOpen source★ 32K

From the same area, with a close purpose.

  • Component-based UI library.

    LibraryOpen source★ 251.8K
  • Progressive UI framework, easy to adopt gradually.

    FrameworkOpen source★ 54.8K
  • 3 KB alternative to React, almost fully compatible.

    LibraryOpen source★ 39K
  • Fine-grained reactive UI, with React-like syntax.

    LibraryOpen source★ 36.2K