Alpine.js
Rugged minimal JavaScript framework for adding interactivity to HTML with small bundle.
Web frameworks npm MIT
Used in agent projects
36
0.3% of 12,697 public repos built with AI coding agents
Rank in web frameworks
#20 of 26
by use in those projects
Downloads
713K
npm, last 7 days, alpinejs
GitHub stars
32K
last push Oct 5, 2026
How Alpine.js is used
Alpine.js is a dependency in 36 of the 12,697 public GitHub projects set up for AI coding agents that we scanned (0.3%), #20 of 26 in web frameworks. The most used alternative there is React. Projects that use it most often also use Vite (80.6%), Axios (69.4%), Laravel Vite Plugin (69.4%). It is more common in projects set up for Junie (12.3%) than for GitHub Copilot (0.4%).
Often used with Alpine.js
| Vite | 80.6% of Alpine.js projects · 3.5× more than average |
|---|---|
| Axios | 69.4% of Alpine.js projects · 7.0× more than average |
| Laravel Vite Plugin | 69.4% of Alpine.js projects · 49.5× more than average |
| Tailwind CSS | 94.4% of Alpine.js projects · 2.7× more than average |
| concurrently | 58.3% of Alpine.js projects · 12.9× more than average |
| daisyUI | 25.0% of Alpine.js projects · 21.9× more than average |
| Font Awesome | 22.2% of Alpine.js projects · 28.2× more than average |
| Chart.js | 16.7% of Alpine.js projects · 12.8× more than average |
By coding agent
| Cursor | 1.1% of projects set up for it |
|---|---|
| Claude Code | 0.7% of projects set up for it |
| GitHub Copilot | 0.4% of projects set up for it |
| Junie | 12.3% of projects set up for it |
| Gemini CLI | 1.4% of projects set up for it |
Share of public repos configured for each agent that list Alpine.js as a dependency.
Install
| Package | npm install alpinejs |
|---|---|
| Main stacks | PHP (26), TypeScript / JavaScript (5), Python (4), Java / Kotlin (1) |
| Example projects | Ortus-Solutions/ContentBox, cablelabs/os-provisioning, achingachris/django-starter, dsbilling/dsbilling.no |
Alternatives to Alpine.js
| Tool | Used in agent projects | Downloads / wk | GitHub stars | License |
|---|---|---|---|---|
| React npm JavaScript library for building interactive user interfaces with components. |
5,510 (43.4%) | 186M | 251K | MIT |
| Next.js npm React framework for production with server-side rendering and static generation. |
2,861 (22.5%) | 66.2M | 143K | MIT |
| next-themes npm Abstraction for managing themes (dark/light mode) in Next.js apps. |
1,116 (8.8%) | 26.9M | 6,333 | MIT |
| React Router npm Declarative routing library for building single-page React applications. |
972 (7.7%) | 44.8M | 56.6K | MIT |
| Vue npm Progressive JavaScript framework for building interactive user interfaces. |
210 (1.7%) | 17.1M | 54.6K | MIT |
| Astro npm Modern static site builder with partial hydration and zero JavaScript by default. |
133 (1.0%) | 7.1M | 63.1K | MIT |
| React Native Web npm React Native APIs and components for web allowing code sharing between web and mobile. |
121 (1.0%) | 7.2M | 22.1K | MIT |
| Angular npm Full-featured web framework with TypeScript, dependency injection and RxJS. |
104 (0.8%) | 5.9M | 101K | MIT |