0
Creates a Framer Motion Value using useMotionValue()
to track the state and velocity of a value.
Pass them into the Motion component via the style
prop or directly as HTMLInnerText.
Listeners can be added to motion values via the on()
or useMotionValueEvent
hook. E.g. useMotionValueEvent(x, "change", (latest) => console.log(latest))
Build by Ritesh. Check out my other Github Codes.