Alpine.js alternatives and similar libraries
Based on the "derby" category.
Alternatively, view Alpine.js alternatives based on common mentions on social networks and blogs.
8.1 8.1 L4 Alpine.js VS Adonis🚀 The Node.js Framework highly focused on developer ergonomics, stability and confidence
3.7 9.3 Alpine.js VS FoalTSElegant and fully-featured Node.Js web framework based on TypeScript. :rocket:.
* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest.
Do you think we are missing an alternative of Alpine.js or a related project?
Go to the Alpine docs for most things: Alpine Docs
You are welcome to submit updates to the docs by submitting a PR to this repo. Docs are located in the
Stay here for contribution-related information.
Looking for V2 docs? here they are
- clone this repo locally
npm run build
- Include the
/packages/alpinejs/dist/cdn.jsfile from a
<script>tag on a webpage and you're good to go!
You can get everything installed with:
npm install in the root directory of this repo after cloning it locally.
This repo is a "mono-repo" using npm workspaces for managing the packages. Each package has its own folder in the
Rather than having to run separate builds for each package, all package bundles are handled with the same command:
npm run build
Here's a brief look at each package in this repo:
|[alpinejs](packages/alpinejs)||The main Alpine repo with all of Alpine's core|
|[csp](packages/csp)||A repo to provide a "CSP safe" build of Alpine|
|[history](packages/history)||A plugin for binding data to query string parameters using the history API (name is likely to change)|
|[intersect](packages/intersect)||A plugin for triggering JS expressions based on elements intersecting with the viewport|
|[morph](packages/morph)||A plugin for morphing HTML (like morphdom) inside the page intelligently|
|[focus](packages/focus)||A plugin that allows you to manage focus inside an element|
The compiled JS files (as a result of running
npm run [build/watch]) to be included as a
<script> tag for example are stored in each package's
Each package should at least have: a "cdn" build that is self-initializing and can be included using the
src attribute in a
<script defer> tag, and a
module.[esm/cjs].js file that is used for importing as a JS module (cjs for node, esm for everything else).
The bundling for Alpine V3 is handled exclusively by ESBuild. All of the configuration for these builds is stored in the
There are 2 different testing tools used in this repo: Cypress (for integration tests), and Jest (for unit tests).
All tests are stored inside the
/tests folder under
You can run them both from the command line using:
npm run test
If you wish to only run cypress and open it's user interface (recommended during development), you can run:
npm run cypress
If you wish to only run Jest tests, you can run
npm run jest like normal and target specific tests. You can specify command line config options to forward to the jest command with
-- like so:
npm run jest -- --watch