Use Lit with Jeasx

Lit builds on the Web Components standard and adds reactive properties and declarative templates with little boilerplate. Jeasx renders the custom elements as plain tags, and the browser bundle brings them to life.

Both components below animate with @lit-labs/motion.

Animated logo

The text is passed as a plain HTML attribute (<logo-animation text="Jeasx">), which Lit turns into a reactive property. Click the logo to pause or play its animation.

Animated list

Every change of the list is a new array in a reactive property. The animate directive moves each item smoothly from its old to its new position.