hextastudio/ui needs your support to stay running 🫶 Help us
Install Framer Motion
Install and setup Framer Motion animation library
Installing Framer Motion
Framer Motion Example
index.tsx
import { motion, useScroll, useTransform } from "framer-motion";
const Home = () => {
const { scrollYProgress } = useScroll();
const rotate = useTransform(scrollYProgress, [0, 1], [0, 360]);
return (
<div>
<motion.p
className="text-2xl opacity-0"