A match from heaven

Image for post
Image for post
Photo by Sylvain Mauroux on Unsplash

To add interactive behavior to a Webflow site, the standard options involve writing imperative JavaScript or defining Interactions via a point-and-click interface. Neither of these fit my personal style, so I decided to use Alpine.js.

Alpine.js is a minimal framework for composing JavaScript behaviors directly in HTML markup. It offers the reactive and declarative nature of big frameworks like Vue.js or React at a much lower cost.

The fact that it initializes instantaneously and that the code lives directly in element attributes, makes it a prefect match for the Webflow visual development approach.

So how do you use Alpine.js …

About

Jarek Lipski

Full-Stack Developer / Agilist / Free and Open Source Software Fan.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store