An animation engine with Motion's API, built on Effect.
https://wardic.dev ↗// momentum
// why it's here
- Active: last commit today
- Built almost entirely by one person
- Health 99/100 with only 11 stars
- 10 releases in the last 90 days
- 18 open issues handled by one or two people
// how to help
// readme
An animation library with the API of Motion for React, built on Effect, for Solid and Foldkit.
Wardic’s elements take Motion’s props: initial, animate, exit and transition; variants that pass down the tree; hover, press, focus, drag and pan; layout and shared-element animations (layout, layoutId); presence; and values that follow the scroll or the pointer. On a server-rendered page, mount animations play before the JavaScript has loaded, and the client takes them over mid-flight. On Solid, Effect stays out of your way: you never write Effect to use it.
Install
npm install @wardic/solid @wardic/dom effect
solid-js and @solidjs/web are peers: Solid 2. On Solid 1, see below.