framer-motion variants
Github
Demo
To avoid repetition and hard to read code, using variants in framer-motion provides predefined object sets that can be used in a declarative way to define animations.
To leverage these variants, we pass the objects with their key and prop...
mariposablog.hashnode.dev2 min read