Skip to content

Alpine.js

Alpine.js is a lightweight JavaScript framework for composing behavior directly in your HTML. It offers the reactive and declarative nature of frameworks like Vue or React at a fraction of the file size, working entirely in the markup.

In This Section

  • Getting Started — Setup, x-data, x-init, and reactive state
  • Bindings & Events — x-bind, x-on, x-model, and form handling
  • Conditionals & Loops — x-if, x-show, x-for, and template directives
  • Transitions & Plugins — x-transition, magic properties, and $store