Back to Registry
Creative
4.9 Rating
Framer Motion Dynamic Animation Reference
Spring setup configurations, custom keyframe sets, layout animations, exit transitions, and responsive gesture handlers.
Files
10
Context Tokens
36k
Author: MotionDesigner4.8k clones
Install via CLI
Use the ContextNode wrapper tool to dynamically inject this into your local workspace.
npx contextnode clone framer-motion-animation-maps
Package Files
1 itemssrc/components/FadeIn.tsx
"use client";
import { motion } from "framer-motion";
const springPreset = {
type: "spring",
stiffness: 260,
damping: 20
};
export default function FadeIn({ children }: { children: React.ReactNode }) {
return (
<motion.div
initial={{ opacity: 0, y: 20 }}
animate={{ opacity: 1, y: 0 }}
exit={{ opacity: 0, y: -20 }}
transition={springPreset}
>
{children}
</motion.div>
);
}