---
title: "Discussion on \"framer-motion variants\" | Hashnode"
description: "Discussion on \"framer-motion variants\". Github\nDemo\nTo 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.\nTo leverage these variants, we pass the objects with their key and prop..."
url: "https://hashnode.com/posts/framer-motion-variants/667ea8b0b164bd4bc58fc5b3"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [framer-motion variants](https://mariposablog.hashnode.dev/framer-motion-variants?utm_source=hashnode&utm_medium=feed)

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...

Jun 28, 2024 · 2 min read · mariposablog.hashnode.dev  
Read the article

-   [#framer-motion](https://hashnode.com/tag/framer-motion)
-   [#reactjs](https://hashnode.com/tag/reactjs)
-   [#javascript](https://hashnode.com/tag/javascript)
-   [#frontend-development](https://hashnode.com/tag/frontend-development)

## Written by

[Daniel Simonson](https://hashnode.com/@dansimonson)

@dansimonson · Texas and Philippines

  
[View profile](https://hashnode.com/@dansimonson)

Software Developer

I am a software developer with a bachelor's degree in Computer Science. I've worked as a frontend React and Vue developer at various times as well as filling roles requiring full-stack development. I'm interested in full-stack / frontend JavaScript development using various frameworks and tools. I love coding and creating websites and apps. I focus on trying to get a little bit better than I was yesterday.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
