Ir al contenido principal
htmx logo

htmx

High power tools for HTML

High power tools for HTML. Access AJAX, CSS Transitions, WebSockets, and Server Sent Events directly in HTML using attributes for modern UIs with the simplicity of hypertext.

40K
GitHub Stars
supported
TypeScript
easy
Learning Curve
4.7
DX Score

Precios

Model
free
Plan Gratuito
BSD-2-Clause licensed, fully open source

Características

  • AJAX from any element
  • Any HTTP method
  • Partial page updates
  • WebSocket support
  • Server Sent Events
  • CSS transitions
  • No build step
  • Dependency-free
  • 16KB minified/gzipped

Ventajas

  • + Server-centric simplicity
  • + No JavaScript required
  • + Works with any backend
  • + 67% less code than React
  • + Progressive enhancement

Desventajas

  • - Not for complex client state
  • - Backend does more work
  • - Limited offline support
  • - Different mental model

Mejor Para

indie hacker hobbyist startup

Alternativas

hypermedia server-driven no-build progressive-enhancement ajax