Alpine.js

A minimal framework for sprinkling reactive behaviour directly into HTML markup with x- attributes.

Alpine.js offers Vue-like reactivity in a few kilobytes, declared inline with attributes such as x-data, x-show and x-on. It is ideal for dropdowns, modals and small interactive pieces on server-rendered pages. It pairs naturally with Tailwind CSS, Laravel Livewire and htmx.

Type
Library
Category
Web
Maintainer
Caleb Porzio
First released
2019
License
Open source (MIT)
Pricing
Open source
Level
Beginner
Technologies
alpinejs, javascript, html
GitHub stars
32,065
Weekly downloads
1,376,804 (npm)
Latest release
[object Object]
Last verified
26 Nov 2026

What Alpine.js is used for

  • Small interactive widgets
  • Enhancing server-rendered pages
  • Laravel Livewire apps

Strengths

  • No build step required
  • Tiny and easy to learn
  • Plays well with any back end

Limitations

  • Not designed for large SPAs
  • Logic in attributes can get messy at scale

Alpine.js alternatives

How it relates to other tools

Built with the same technologies

Official links

Sources

Explore