motion one doesn't allow for initial values?

motion one (https://motion.dev) seems very cool and all, but does it not have an API for initial values (similar to framer-motion)? its quite possible that I simply am making up an issue here, but surely if I want a fade in, the solution isn't to by default have the opacity of everything be 0 and then later change that in JS world? sorry if I'm just missing something and being stupid :) currently using it with Astro.
Motion One: The Web Animations API for everyone
A new library for animation libraries on the web. Built on the Web Animations API for a tiny bundlesize and great performance.
1 Reply
iDarkLightning
iDarkLightningOP3y ago
Both the solid and vue APIs seem to allow for this as well so I'm rly rather lost

Did you find this page helpful?