Questions tagged [motion]

This tag is ideal for systems that require physical movement, such as robots or electronic and pneumatic actuators.

Setting up the starting value using the useAnimate hook in framer motion

One of the initial properties of the motion component is: <motion.div initial={{ x: "100%" }} animate={{ x: "calc(100vw - 50%)" }} /> When using useAnimate with the useInView hook: const [scope, animate] = useAnimate(); const ...