{
  "id": "task_libraries:animation/react",
  "path": "/exapedia/react-animation-libraries",
  "template": {
    "id": "task_libraries",
    "version": 4
  },
  "title": "React animation libraries",
  "answer": [
    {
      "t": "text",
      "text": "React animation libraries move, fade, and resize elements in a React interface as its state changes. A library either interpolates styles with springs and tweens or measures layout changes and animates elements between positions. These libraries let apps show transitions, page changes, and list updates that users can follow."
    }
  ],
  "breadcrumb": [
    {
      "label": "Tools"
    },
    {
      "label": "React animation libraries"
    }
  ],
  "sections": [
    {
      "id": "libraries_popularity",
      "anchor": "popularity",
      "heading": "Popularity",
      "blocks": [
        {
          "b": "table",
          "columns": [
            "Library",
            "Monthly downloads",
            "Stars",
            "Last release",
            "License"
          ],
          "rows": [
            [
              [
                {
                  "t": "link",
                  "href": "#react-transition-group",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F108"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F109"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F117"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F112"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F110"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#motion",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F127"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F128"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F134"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F131"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F129"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#react-smooth",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F146"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F147"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F155"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F150"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F148"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#react-spring",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F165"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F166"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F172"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F169"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F167"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#lottie-react",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F184"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F185"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F193"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F188"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F186"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#autoanimate",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F199"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F200"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F206"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F203"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F201"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#lottiefiles-dotlottie-react",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F217"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F218"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F226"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F221"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F219"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#gsap-react",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F232"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F233"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F241"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F236"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F234"
                }
              ]
            ]
          ],
          "variant": "pop",
          "caption": [
            {
              "t": "text",
              "text": "Downloads: "
            },
            {
              "t": "text",
              "text": "npm"
            },
            {
              "t": "text",
              "text": ", last thirty days. Stars and releases: GitHub. Amber: no release in over a year."
            }
          ]
        }
      ],
      "note": [
        {
          "t": "link",
          "href": "#react-transition-group",
          "label": [
            {
              "t": "text",
              "text": "react-transition-group"
            }
          ]
        },
        {
          "t": "text",
          "text": " has the most monthly downloads in this comparison, at "
        },
        {
          "t": "fact",
          "fact": "F109"
        },
        {
          "t": "text",
          "text": "."
        }
      ]
    },
    {
      "id": "libraries_capabilities",
      "anchor": "capabilities",
      "heading": "Capabilities",
      "blocks": [
        {
          "b": "table",
          "columns": [
            "Library",
            "Lottie asset playback",
            "Retains exiting children"
          ],
          "rows": [
            [
              [
                {
                  "t": "link",
                  "href": "#react-transition-group",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F108"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F118"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F119"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#motion",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F127"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F135"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F136"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#react-smooth",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F146"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F156"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F157"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#react-spring",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F165"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F173"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F174"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#lottie-react",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F184"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F194"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F195"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#autoanimate",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F199"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F207"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F208"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#lottiefiles-dotlottie-react",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F217"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F227"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F228"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#gsap-react",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F232"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F242"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F243"
                }
              ]
            ]
          ],
          "variant": "cap"
        }
      ]
    },
    {
      "id": "libraries_entries",
      "anchor": "libraries",
      "heading": "Libraries",
      "blocks": [
        {
          "b": "entry",
          "anchor": "react-transition-group",
          "name": [
            {
              "t": "fact",
              "fact": "F108"
            }
          ],
          "links": [
            {
              "label": "GitHub",
              "href": "https://github.com/reactjs/react-transition-group"
            },
            {
              "label": "npm",
              "href": "https://www.npmjs.com/package/react-transition-group"
            },
            {
              "label": "Docs",
              "href": "https://github.com/reactjs/react-transition-group#readme"
            }
          ],
          "what": [
            {
              "t": "fact",
              "fact": "F115"
            }
          ],
          "facts": [
            {
              "label": "Downloads / mo",
              "value": [
                {
                  "t": "fact",
                  "fact": "F109"
                }
              ]
            },
            {
              "label": "Stars",
              "value": [
                {
                  "t": "fact",
                  "fact": "F117"
                }
              ]
            },
            {
              "label": "Last release",
              "value": [
                {
                  "t": "fact",
                  "fact": "F111"
                }
              ]
            },
            {
              "label": "License",
              "value": [
                {
                  "t": "fact",
                  "fact": "F110"
                }
              ]
            },
            {
              "label": "Capabilities",
              "value": [
                {
                  "t": "link",
                  "href": "https://github.com/reactjs/react-transition-group#readme",
                  "label": [
                    {
                      "t": "text",
                      "text": "From the "
                    },
                    {
                      "t": "fact",
                      "fact": "F108"
                    },
                    {
                      "t": "text",
                      "text": " docs"
                    }
                  ]
                }
              ]
            }
          ],
          "pros": [],
          "cons": [],
          "tabs": [
            {
              "label": [
                {
                  "t": "fact",
                  "fact": "F125"
                }
              ],
              "stars": [
                {
                  "t": "fact",
                  "fact": "F126"
                }
              ],
              "usedBy": [
                {
                  "t": "link",
                  "href": "https://github.com/AdguardTeam/AdGuardHome",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F125"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " "
                }
              ],
              "language": "tsx",
              "code": "const Toasts = () => {\n    const toasts = useSelector((state: RootState) => state.toasts, shallowEqual);\n\n    return (\n        <TransitionGroup className=\"toasts\">\n            {toasts.notices?.map((toast: any) => {\n                const { id } = toast;\n\n                return (\n                    <CSSTransition key={id} timeout={TOAST_TRANSITION_TIMEOUT} classNames=\"toast\">\n                        <Toast {...toast} />\n                    </CSSTransition>\n                );\n            })}\n        </TransitionGroup>\n    );\n};",
              "prov": [
                {
                  "t": "link",
                  "href": "https://github.com/AdguardTeam/AdGuardHome/blob/39cbd20960ad2bc12192688b673742cbe14ced6a/client/src/components/Toasts/index.tsx",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F124"
                    }
                  ]
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "https://dashboard.exa.ai/playground/search?q=react-transition-group%20GitHub%20projects",
                  "label": [
                    {
                      "t": "text",
                      "text": "More projects using "
                    },
                    {
                      "t": "fact",
                      "fact": "F108"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            },
            {
              "label": [
                {
                  "t": "text",
                  "text": "Quickstart"
                }
              ],
              "language": "tsx",
              "code": "import { Transition } from 'react-transition-group';\nimport { useRef } from 'react';\n\nexport default function Fade({ visible }) {\n  const nodeRef = useRef(null);\n  return (\n    <Transition nodeRef={nodeRef} in={visible} timeout={300}>\n      {state => (\n        <div ref={nodeRef} style={{\n          transition: 'opacity 300ms ease-in-out',\n          opacity: state === 'entering' || state === 'entered' ? 1 : 0,\n        }}>Hello</div>\n      )}\n    </Transition>\n  );\n}\n",
              "prov": [
                {
                  "t": "text",
                  "text": "From "
                },
                {
                  "t": "link",
                  "href": "https://reactcommunity.org/react-transition-group/transition/",
                  "label": [
                    {
                      "t": "text",
                      "text": "Transition.mdx"
                    }
                  ]
                }
              ]
            }
          ],
          "install": [
            {
              "t": "fact",
              "fact": "F113"
            }
          ]
        },
        {
          "b": "entry",
          "anchor": "motion",
          "name": [
            {
              "t": "fact",
              "fact": "F127"
            }
          ],
          "links": [
            {
              "label": "GitHub",
              "href": "https://github.com/motiondivision/motion"
            },
            {
              "label": "npm",
              "href": "https://www.npmjs.com/package/motion"
            },
            {
              "label": "Docs",
              "href": "https://github.com/motiondivision/motion#readme"
            }
          ],
          "what": [
            {
              "t": "fact",
              "fact": "F12"
            }
          ],
          "facts": [
            {
              "label": "Downloads / mo",
              "value": [
                {
                  "t": "fact",
                  "fact": "F128"
                }
              ]
            },
            {
              "label": "Stars",
              "value": [
                {
                  "t": "fact",
                  "fact": "F134"
                }
              ]
            },
            {
              "label": "Last release",
              "value": [
                {
                  "t": "fact",
                  "fact": "F130"
                }
              ]
            },
            {
              "label": "License",
              "value": [
                {
                  "t": "fact",
                  "fact": "F129"
                }
              ]
            },
            {
              "label": "Capabilities",
              "value": [
                {
                  "t": "link",
                  "href": "https://github.com/motiondivision/motion#readme",
                  "label": [
                    {
                      "t": "text",
                      "text": "From the "
                    },
                    {
                      "t": "fact",
                      "fact": "F127"
                    },
                    {
                      "t": "text",
                      "text": " docs"
                    }
                  ]
                }
              ]
            }
          ],
          "pros": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F13"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F14"
                }
              ]
            },
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F15"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F16"
                }
              ]
            }
          ],
          "cons": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F17"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F18"
                }
              ]
            },
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F19"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F20"
                }
              ]
            }
          ],
          "tabs": [
            {
              "label": [
                {
                  "t": "fact",
                  "fact": "F144"
                }
              ],
              "stars": [
                {
                  "t": "fact",
                  "fact": "F145"
                }
              ],
              "usedBy": [
                {
                  "t": "link",
                  "href": "https://github.com/DestinyItemManager/DIM",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F144"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " "
                }
              ],
              "language": "tsx",
              "code": "export default function AnimatedNumber({\n  value,\n  className,\n}: {\n  value: number;\n  className?: string;\n}) {\n  const val = useMotionValue(value);\n  const transformedVal = useTransform(val, (v) => Math.floor(v));\n\n  useEffect(() => {\n    animate(val, value, spring);\n  }, [val, value]);\n\n  return <motion.span className={className}>{transformedVal}</motion.span>;\n}\n",
              "prov": [
                {
                  "t": "link",
                  "href": "https://github.com/DestinyItemManager/DIM/blob/a7ddf5c4e8c615aa71c9ae812b5b13e8a215b087/src/app/dim-ui/AnimatedNumber.tsx#L13-L28",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F143"
                    }
                  ]
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "https://dashboard.exa.ai/playground/search?q=React%20projects%20that%20use%20motion&filters=%7B%22type%22%3A%20%22auto%22%2C%20%22numResults%22%3A%2010%2C%20%22includeDomains%22%3A%20%5B%22github.com%22%5D%7D",
                  "label": [
                    {
                      "t": "text",
                      "text": "More projects using "
                    },
                    {
                      "t": "fact",
                      "fact": "F127"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            },
            {
              "label": [
                {
                  "t": "text",
                  "text": "Quickstart"
                }
              ],
              "language": "tsx",
              "code": "import { motion } from \"motion/react\"\n  \nfunction Component() {\n  return <motion.button animate={{ opacity: 1 }} />\n}\n",
              "prov": [
                {
                  "t": "text",
                  "text": "From "
                },
                {
                  "t": "link",
                  "href": "https://motion.dev/docs/react",
                  "label": [
                    {
                      "t": "text",
                      "text": "react.md"
                    }
                  ]
                }
              ]
            }
          ],
          "install": [
            {
              "t": "fact",
              "fact": "F132"
            }
          ]
        },
        {
          "b": "entry",
          "anchor": "react-smooth",
          "name": [
            {
              "t": "fact",
              "fact": "F146"
            }
          ],
          "links": [
            {
              "label": "GitHub",
              "href": "https://github.com/recharts/react-smooth"
            },
            {
              "label": "npm",
              "href": "https://www.npmjs.com/package/react-smooth"
            },
            {
              "label": "Docs",
              "href": "https://github.com/recharts/react-smooth#readme"
            }
          ],
          "what": [
            {
              "t": "fact",
              "fact": "F153"
            }
          ],
          "facts": [
            {
              "label": "Downloads / mo",
              "value": [
                {
                  "t": "fact",
                  "fact": "F147"
                }
              ]
            },
            {
              "label": "Stars",
              "value": [
                {
                  "t": "fact",
                  "fact": "F155"
                }
              ]
            },
            {
              "label": "Last release",
              "value": [
                {
                  "t": "fact",
                  "fact": "F149"
                }
              ]
            },
            {
              "label": "License",
              "value": [
                {
                  "t": "fact",
                  "fact": "F148"
                }
              ]
            },
            {
              "label": "Capabilities",
              "value": [
                {
                  "t": "link",
                  "href": "https://github.com/recharts/react-smooth#readme",
                  "label": [
                    {
                      "t": "text",
                      "text": "From the "
                    },
                    {
                      "t": "fact",
                      "fact": "F146"
                    },
                    {
                      "t": "text",
                      "text": " docs"
                    }
                  ]
                }
              ]
            }
          ],
          "pros": [],
          "cons": [],
          "tabs": [
            {
              "label": [
                {
                  "t": "fact",
                  "fact": "F163"
                }
              ],
              "stars": [
                {
                  "t": "fact",
                  "fact": "F164"
                }
              ],
              "usedBy": [
                {
                  "t": "link",
                  "href": "https://github.com/recharts/recharts",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F163"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " "
                }
              ],
              "language": "tsx",
              "code": "({ width: currWidth, height: currHeight, x: currX, y: currY }: any) => (\n        <Animate\n          canBegin={totalLength > 0}\n          from={`0px ${totalLength === -1 ? 1 : totalLength}px`}\n          to={`${totalLength}px 0px`}\n          attributeName=\"strokeDasharray\"\n          begin={animationBegin}\n          duration={animationDuration}\n          isActive={isAnimationActive}\n          easing={animationEasing}\n        >\n          <path\n            {...filterProps(props, true)}\n            className={layerClass}\n            d={getRectanglePath(currX, currY, currWidth, currHeight, radius)}\n            ref={pathRef}\n          />\n        </Animate>\n      )",
              "prov": [
                {
                  "t": "link",
                  "href": "https://github.com/recharts/recharts/blob/7baebfe02c196b52d725b82cbbbdc7cb3a235caa/src/shape/Rectangle.tsx",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F162"
                    }
                  ]
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "https://dashboard.exa.ai/playground/search?q=react-smooth%20GitHub%20projects",
                  "label": [
                    {
                      "t": "text",
                      "text": "More projects using "
                    },
                    {
                      "t": "fact",
                      "fact": "F146"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            },
            {
              "label": [
                {
                  "t": "text",
                  "text": "Quickstart"
                }
              ],
              "language": "tsx",
              "code": "import Animate from 'react-smooth';\n\nexport default function Fade() {\n  return (\n    <Animate to=\"0\" from=\"1\" attributeName=\"opacity\">\n      <div />\n    </Animate>\n  );\n}\n",
              "prov": [
                {
                  "t": "text",
                  "text": "From "
                },
                {
                  "t": "link",
                  "href": "https://cdn.jsdelivr.net/npm/react-smooth@4.0.4/README.md",
                  "label": [
                    {
                      "t": "text",
                      "text": "README.md"
                    }
                  ]
                }
              ]
            }
          ],
          "install": [
            {
              "t": "fact",
              "fact": "F151"
            }
          ]
        },
        {
          "b": "entry",
          "anchor": "react-spring",
          "name": [
            {
              "t": "fact",
              "fact": "F165"
            }
          ],
          "links": [
            {
              "label": "GitHub",
              "href": "https://github.com/pmndrs/react-spring"
            },
            {
              "label": "npm",
              "href": "https://www.npmjs.com/package/@react-spring/web"
            },
            {
              "label": "Docs",
              "href": "https://github.com/pmndrs/react-spring#readme"
            }
          ],
          "what": [
            {
              "t": "fact",
              "fact": "F62"
            }
          ],
          "facts": [
            {
              "label": "Downloads / mo",
              "value": [
                {
                  "t": "fact",
                  "fact": "F166"
                }
              ]
            },
            {
              "label": "Stars",
              "value": [
                {
                  "t": "fact",
                  "fact": "F172"
                }
              ]
            },
            {
              "label": "Last release",
              "value": [
                {
                  "t": "fact",
                  "fact": "F168"
                }
              ]
            },
            {
              "label": "License",
              "value": [
                {
                  "t": "fact",
                  "fact": "F167"
                }
              ]
            },
            {
              "label": "Capabilities",
              "value": [
                {
                  "t": "link",
                  "href": "https://github.com/pmndrs/react-spring#readme",
                  "label": [
                    {
                      "t": "text",
                      "text": "From the "
                    },
                    {
                      "t": "fact",
                      "fact": "F165"
                    },
                    {
                      "t": "text",
                      "text": " docs"
                    }
                  ]
                }
              ]
            }
          ],
          "pros": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F63"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F64"
                }
              ]
            },
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F65"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F66"
                }
              ]
            }
          ],
          "cons": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F67"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F68"
                }
              ]
            }
          ],
          "tabs": [
            {
              "label": [
                {
                  "t": "fact",
                  "fact": "F182"
                }
              ],
              "stars": [
                {
                  "t": "fact",
                  "fact": "F183"
                }
              ],
              "usedBy": [
                {
                  "t": "link",
                  "href": "https://github.com/pmndrs/use-gesture",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F182"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " "
                }
              ],
              "language": "tsx",
              "code": "export default function App() {\n  const [{ y }, api] = useSpring(() => ({ y: height }))\n\n  const open = ({ canceled }) => {\n    // when cancel is true, it means that the user passed the upwards threshold\n    // so we change the spring config to create a nice wobbly effect\n    api.start({ y: 0, immediate: false, config: canceled ? config.wobbly : config.stiff })\n  }\n  const close = (velocity = 0) => {\n    api.start({ y: height, immediate: false, config: { ...config.stiff, velocity } })\n  }\n\n  const bind = useDrag(\n    ({ last, velocity: [, vy], direction: [, dy], offset: [, oy], cancel, canceled }) => {\n      // if the user drags up passed a threshold, then we cancel\n      // the drag so that the sheet resets to its open position\n      if (oy < -70) cancel()\n\n      // when the user releases the sheet, we check whether it passed\n      // the threshold for it to close, or if we reset it to its open positino\n      if (last) {\n        oy > height * 0.5 || (vy > 0.5 && dy > 0) ? close(vy) : open({ canceled })\n      }\n      // when the user keeps dragging, we just move the sheet according to\n      // the cursor position\n      else api.start({ y: oy, immediate: true })\n    },\n    { from: () => [0, y.get()], filterTaps: true, bounds: { top: 0 }, rubberband: true }\n  )\n\n  const display = y.to((py) => (py < height ? 'block' : 'none'))\n\n  const bgStyle = {\n    transform: y.to([0, height], ['translateY(-8%) scale(1.16)', 'translateY(0px) scale(1.05)']),\n    opacity: y.to([0, height], [0.4, 1], 'clamp')\n  }\n  return (\n    <div className=\"flex\" style={{ overflow: 'hidden' }}>\n      <a.div className={styles.bg} onClick={() => close()} style={bgStyle}>\n        <img\n          src=\"https://images.pexels.com/photos/1239387/pexels-photo-1239387.jpeg?auto=compress&cs=tinysrgb&dpr=2&h=650&w=940\"\n          alt=\"\"\n        />\n        <img\n          src=\"https://images.pexels.com/photos/5181179/pexels-photo-5181179.jpeg?auto=compress&cs=tinysrgb&dpr=2&h=650&w=940\"\n          alt=\"\"\n        />\n      </a.div>\n      <div className={styles.actionBtn} onClick={open} />\n      <a.div className={styles.sheet} {...bind()} style={{ display, bottom: `calc(-100vh + ${height - 100}px)`, y }}>\n        {items.map((entry, i) => (\n          <div\n            key={entry}\n            onClick={() => (i < items.length - 1 ? alert('clicked on ' + entry) : close())}\n            children={entry}\n          />\n        ))}\n      </a.div>\n    </div>\n  )\n}\n",
              "prov": [
                {
                  "t": "link",
                  "href": "https://github.com/pmndrs/use-gesture/blob/c779631aa05959638dee81b9a25fb1299a7467f6/demo/src/sandboxes/action-sheet/src/App.jsx#L10-L70",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F181"
                    }
                  ]
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "https://dashboard.exa.ai/playground/search?q=React%20projects%20that%20use%20%40react-spring/web&filters=%7B%22type%22%3A%20%22auto%22%2C%20%22numResults%22%3A%2010%2C%20%22includeDomains%22%3A%20%5B%22github.com%22%5D%7D",
                  "label": [
                    {
                      "t": "text",
                      "text": "More projects using "
                    },
                    {
                      "t": "fact",
                      "fact": "F165"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            },
            {
              "label": [
                {
                  "t": "text",
                  "text": "Quickstart"
                }
              ],
              "language": "tsx",
              "code": "import { useSpring, animated } from '@react-spring/web';\n\nexport default function App() {\n  const springs = useSpring({ from: { x: 0 }, to: { x: 100 } });\n  return <animated.div style={springs}>Hello</animated.div>;\n}\n",
              "prov": [
                {
                  "t": "text",
                  "text": "From "
                },
                {
                  "t": "link",
                  "href": "https://github.com/pmndrs/react-spring/blob/next/docs/app/routes/docs.getting-started.mdx",
                  "label": [
                    {
                      "t": "text",
                      "text": "docs.getting-started.mdx"
                    }
                  ]
                }
              ]
            }
          ],
          "install": [
            {
              "t": "fact",
              "fact": "F170"
            }
          ]
        },
        {
          "b": "entry",
          "anchor": "lottie-react",
          "name": [
            {
              "t": "fact",
              "fact": "F184"
            }
          ],
          "links": [
            {
              "label": "GitHub",
              "href": "https://github.com/Gamote/lottie-react"
            },
            {
              "label": "npm",
              "href": "https://www.npmjs.com/package/lottie-react"
            },
            {
              "label": "Docs",
              "href": "https://lottiereact.com"
            }
          ],
          "what": [
            {
              "t": "fact",
              "fact": "F191"
            }
          ],
          "facts": [
            {
              "label": "Downloads / mo",
              "value": [
                {
                  "t": "fact",
                  "fact": "F185"
                }
              ]
            },
            {
              "label": "Stars",
              "value": [
                {
                  "t": "fact",
                  "fact": "F193"
                }
              ]
            },
            {
              "label": "Last release",
              "value": [
                {
                  "t": "fact",
                  "fact": "F187"
                }
              ]
            },
            {
              "label": "License",
              "value": [
                {
                  "t": "fact",
                  "fact": "F186"
                }
              ]
            },
            {
              "label": "Capabilities",
              "value": [
                {
                  "t": "link",
                  "href": "https://lottiereact.com",
                  "label": [
                    {
                      "t": "text",
                      "text": "From the "
                    },
                    {
                      "t": "fact",
                      "fact": "F184"
                    },
                    {
                      "t": "text",
                      "text": " docs"
                    }
                  ]
                }
              ]
            }
          ],
          "pros": [],
          "cons": [],
          "tabs": [
            {
              "label": [
                {
                  "t": "text",
                  "text": "Quickstart"
                }
              ],
              "language": "tsx",
              "code": "import { Lottie } from \"lottie-react\";\n\nexport function Hero() {\n  return <Lottie src=\"/hero.json\" autoplay loop />;\n}\n",
              "prov": [
                {
                  "t": "text",
                  "text": "From "
                },
                {
                  "t": "link",
                  "href": "https://github.com/Gamote/lottie-react/blob/4205a49678c91540a5ef7e803bf11d3c724752b1/README.md",
                  "label": [
                    {
                      "t": "text",
                      "text": "README.md"
                    }
                  ]
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "https://dashboard.exa.ai/playground/search?q=lottie-react%20GitHub%20projects",
                  "label": [
                    {
                      "t": "text",
                      "text": "Find projects using "
                    },
                    {
                      "t": "fact",
                      "fact": "F184"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            }
          ],
          "install": [
            {
              "t": "fact",
              "fact": "F189"
            }
          ]
        },
        {
          "b": "entry",
          "anchor": "autoanimate",
          "name": [
            {
              "t": "fact",
              "fact": "F199"
            }
          ],
          "links": [
            {
              "label": "GitHub",
              "href": "https://github.com/formkit/auto-animate"
            },
            {
              "label": "npm",
              "href": "https://www.npmjs.com/package/@formkit/auto-animate"
            },
            {
              "label": "Docs",
              "href": "https://github.com/formkit/auto-animate#readme"
            }
          ],
          "what": [
            {
              "t": "fact",
              "fact": "F85"
            }
          ],
          "facts": [
            {
              "label": "Downloads / mo",
              "value": [
                {
                  "t": "fact",
                  "fact": "F200"
                }
              ]
            },
            {
              "label": "Stars",
              "value": [
                {
                  "t": "fact",
                  "fact": "F206"
                }
              ]
            },
            {
              "label": "Last release",
              "value": [
                {
                  "t": "fact",
                  "fact": "F202"
                }
              ]
            },
            {
              "label": "License",
              "value": [
                {
                  "t": "fact",
                  "fact": "F201"
                }
              ]
            },
            {
              "label": "Capabilities",
              "value": [
                {
                  "t": "link",
                  "href": "https://github.com/formkit/auto-animate#readme",
                  "label": [
                    {
                      "t": "text",
                      "text": "From the "
                    },
                    {
                      "t": "fact",
                      "fact": "F199"
                    },
                    {
                      "t": "text",
                      "text": " docs"
                    }
                  ]
                }
              ]
            }
          ],
          "pros": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F86"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F87"
                }
              ]
            },
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F88"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F89"
                }
              ]
            }
          ],
          "cons": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F90"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F91"
                }
              ]
            },
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F92"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F93"
                }
              ]
            }
          ],
          "tabs": [
            {
              "label": [
                {
                  "t": "fact",
                  "fact": "F215"
                }
              ],
              "stars": [
                {
                  "t": "fact",
                  "fact": "F216"
                }
              ],
              "usedBy": [
                {
                  "t": "link",
                  "href": "https://github.com/icflorescu/mantine-datatable",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F215"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " "
                }
              ],
              "language": "tsx",
              "code": "(node: HTMLTableSectionElement | null) => {\n    if (node && !autoAnimateInitialized.current) {\n      autoAnimate(node);\n      autoAnimateInitialized.current = true;\n    }\n  }",
              "prov": [
                {
                  "t": "link",
                  "href": "https://github.com/icflorescu/mantine-datatable/blob/59ebb3a96648ae38a007a77d7e8ab9af6b6147c1/app/examples/using-with-auto-animate/UsingWithAutoAnimateExample.tsx",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F214"
                    }
                  ]
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "https://dashboard.exa.ai/playground/search?q=React%20projects%20that%20use%20%40formkit/auto-animate&filters=%7B%22type%22%3A%20%22auto%22%2C%20%22numResults%22%3A%2010%2C%20%22includeDomains%22%3A%20%5B%22github.com%22%5D%7D",
                  "label": [
                    {
                      "t": "text",
                      "text": "More projects using "
                    },
                    {
                      "t": "fact",
                      "fact": "F199"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            },
            {
              "label": [
                {
                  "t": "text",
                  "text": "Quickstart"
                }
              ],
              "language": "tsx",
              "code": "import { useAutoAnimate } from '@formkit/auto-animate/react'\n\nfunction MyList () {\n  const [animationParent] = useAutoAnimate()\n  return (\n    <ul ref={animationParent}>\n      {/* 🪄 Magic animations for your list */}\n    </ul>\n  )\n}\n",
              "prov": [
                {
                  "t": "text",
                  "text": "From "
                },
                {
                  "t": "link",
                  "href": "https://github.com/formkit/auto-animate/blob/fc43d3030b8adc8df0c4d78fd4297122753e9765/docs/src/examples/intro/intro.jsx",
                  "label": [
                    {
                      "t": "text",
                      "text": "disable.jsx"
                    }
                  ]
                }
              ]
            }
          ],
          "install": [
            {
              "t": "fact",
              "fact": "F204"
            }
          ]
        },
        {
          "b": "entry",
          "anchor": "lottiefiles-dotlottie-react",
          "name": [
            {
              "t": "fact",
              "fact": "F217"
            }
          ],
          "links": [
            {
              "label": "GitHub",
              "href": "https://github.com/LottieFiles/dotlottie-web"
            },
            {
              "label": "npm",
              "href": "https://www.npmjs.com/package/@lottiefiles/dotlottie-react"
            },
            {
              "label": "Docs",
              "href": "https://docs.lottiefiles.com/en/runtimes/distributions/react?utm_source=npm&utm_medium=package"
            }
          ],
          "what": [
            {
              "t": "fact",
              "fact": "F224"
            }
          ],
          "facts": [
            {
              "label": "Downloads / mo",
              "value": [
                {
                  "t": "fact",
                  "fact": "F218"
                }
              ]
            },
            {
              "label": "Stars",
              "value": [
                {
                  "t": "fact",
                  "fact": "F226"
                }
              ]
            },
            {
              "label": "Last release",
              "value": [
                {
                  "t": "fact",
                  "fact": "F220"
                }
              ]
            },
            {
              "label": "License",
              "value": [
                {
                  "t": "fact",
                  "fact": "F219"
                }
              ]
            },
            {
              "label": "Capabilities",
              "value": [
                {
                  "t": "link",
                  "href": "https://docs.lottiefiles.com/en/runtimes/distributions/react?utm_source=npm&utm_medium=package",
                  "label": [
                    {
                      "t": "text",
                      "text": "From the "
                    },
                    {
                      "t": "fact",
                      "fact": "F217"
                    },
                    {
                      "t": "text",
                      "text": " docs"
                    }
                  ]
                }
              ]
            }
          ],
          "pros": [],
          "cons": [],
          "tabs": [
            {
              "label": [
                {
                  "t": "text",
                  "text": "Quickstart"
                }
              ],
              "language": "tsx",
              "code": "import React from 'react';\nimport { DotLottieReact } from '@lottiefiles/dotlottie-react';\n\nconst App = () => {\n  return (\n    <DotLottieReact\n      src=\"path/to/animation.lottie\"\n      loop\n      autoplay\n    />\n  );\n};\n",
              "prov": [
                {
                  "t": "text",
                  "text": "From "
                },
                {
                  "t": "link",
                  "href": "https://github.com/LottieFiles/dotlottie-web/blob/db3f9b19e8e515aa9e87b7667a899825bb992e13/packages/react/README.md",
                  "label": [
                    {
                      "t": "text",
                      "text": "README.md"
                    }
                  ]
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "https://dashboard.exa.ai/playground/search?q=%40lottiefiles/dotlottie-react%20GitHub%20projects",
                  "label": [
                    {
                      "t": "text",
                      "text": "Find projects using "
                    },
                    {
                      "t": "fact",
                      "fact": "F217"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            }
          ],
          "install": [
            {
              "t": "fact",
              "fact": "F222"
            }
          ]
        },
        {
          "b": "entry",
          "anchor": "gsap-react",
          "name": [
            {
              "t": "fact",
              "fact": "F232"
            }
          ],
          "links": [
            {
              "label": "GitHub",
              "href": "https://github.com/greensock/react"
            },
            {
              "label": "npm",
              "href": "https://www.npmjs.com/package/@gsap/react"
            },
            {
              "label": "Docs",
              "href": "https://github.com/greensock/react#readme"
            }
          ],
          "what": [
            {
              "t": "fact",
              "fact": "F239"
            }
          ],
          "facts": [
            {
              "label": "Downloads / mo",
              "value": [
                {
                  "t": "fact",
                  "fact": "F233"
                }
              ]
            },
            {
              "label": "Stars",
              "value": [
                {
                  "t": "fact",
                  "fact": "F241"
                }
              ]
            },
            {
              "label": "Last release",
              "value": [
                {
                  "t": "fact",
                  "fact": "F235"
                }
              ]
            },
            {
              "label": "License",
              "value": [
                {
                  "t": "fact",
                  "fact": "F234"
                }
              ]
            },
            {
              "label": "Capabilities",
              "value": [
                {
                  "t": "link",
                  "href": "https://github.com/greensock/react#readme",
                  "label": [
                    {
                      "t": "text",
                      "text": "From the "
                    },
                    {
                      "t": "fact",
                      "fact": "F232"
                    },
                    {
                      "t": "text",
                      "text": " docs"
                    }
                  ]
                }
              ]
            }
          ],
          "pros": [],
          "cons": [],
          "tabs": [
            {
              "label": [
                {
                  "t": "fact",
                  "fact": "F250"
                }
              ],
              "stars": [
                {
                  "t": "fact",
                  "fact": "F251"
                }
              ],
              "usedBy": [
                {
                  "t": "link",
                  "href": "https://github.com/sanidhyy/game-website",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F250"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " "
                }
              ],
              "language": "tsx",
              "code": "export const Hero = () => {\n  const [currentIndex, setCurrentIndex] = useState(1);\n  const [hasClicked, setHasClicked] = useState(false);\n  const [isLoading, setIsLoading] = useState(true);\n  const [loadedVideos, setLoadedVideos] = useState(0);\n\n  const nextVideoRef = useRef<HTMLVideoElement>(null);\n\n  const totalVideos = 4;\n  const upcomingVideoIndex = (currentIndex % totalVideos) + 1;\n\n  const handleMiniVideoClick = () => {\n    setHasClicked(true);\n\n    setCurrentIndex(upcomingVideoIndex);\n  };\n\n  const VIDEO_KEYS = [\"hero1\", \"hero2\", \"hero3\", \"hero4\"] as const;\n  const getVideoSrc = (i: number) => {\n    const key = VIDEO_KEYS[i - 1]; // Subtract 1 because the array is 0-indexed, but the video indices are 1-based\n    return VIDEO_LINKS[key];\n  };\n\n  const handleVideoLoad = () => {\n    setLoadedVideos((prevVideos) => prevVideos + 1);\n  };\n\n  useEffect(() => {\n    if (loadedVideos === totalVideos - 1) setIsLoading(false);\n  }, [loadedVideos]);\n\n  useGSAP(\n    () => {\n      if (hasClicked) {\n        gsap.set(\"#next-video\", { visibility: \"visible\" });\n\n        gsap.to(\"#next-video\", {\n          transformOrigin: \"center center\",\n          scale: 1,\n          width: \"100%\",\n          height: \"100%\",\n          duration: 1,\n          ease: \"power1.inOut\",\n          onStart: () => {\n            void nextVideoRef.current?.play();\n          },\n        });\n\n        gsap.from(\"#current-video\", {\n          transformOrigin: \"center center\",\n          scale: 0,\n          duration: 1.5,\n          ease: \"power1.inOut\",\n        });\n      }\n    },\n    { dependencies: [currentIndex], revertOnUpdate: true }\n  );\n\n  useGSAP(() => {\n    gsap.set(\"#video-frame\", {\n      clipPath: \"polygon(14% 0%, 72% 0%, 90% 90%, 0% 100%)\",\n      borderRadius: \"0 0 40% 10%\",\n    });\n\n    gsap.from(\"#video-frame\", {\n      clipPath: \"polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%)\",\n      borderRadius: \"0 0 0 0\",\n      ease: \"power1.inOut\",\n      scrollTrigger: {\n        trigger: \"#video-frame\",\n        start: \"center center\",\n        end: \"bottom center\",\n        scrub: true,\n      },\n    });\n  });\n\n  return (\n    <section id=\"hero\" className=\"relative h-dvh w-screen overflow-x-hidden\">\n      {isLoading && (\n        <div className=\"flex-center absolute z-100 h-dvh w-screen overflow-hidden bg-violet-50\">\n          <div className=\"three-body\">\n            <div className=\"three-body__dot\" />\n            <div className=\"three-body__dot\" />\n            <div className=\"three-body__dot\" />\n          </div>\n        </div>\n      )}\n\n      <div\n        id=\"video-frame\"\n        className=\"bg-blue-75 relative z-10 h-dvh w-screen overflow-hidden rounded-lg\"\n      >\n        <div>\n          <div className=\"mask-clip-path absolute-center absolute z-50 size-64 cursor-pointer overflow-hidden rounded-lg\">\n            <div\n              onClick={handleMiniVideoClick}\n              className=\"origin-center scale-50 opacity-0 transition-all duration-500 ease-in hover:scale-100 hover:opacity-100\"\n            >\n              <video\n                ref={nextVideoRef}\n                src={getVideoSrc(upcomingVideoIndex)}\n                loop\n                muted\n                id=\"current-video\"\n                className=\"size-64 origin-center scale-150 object-cover object-center\"\n                onLoadedData={handleVideoLoad}\n              />\n            </div>\n          </div>\n\n          <video\n            ref={nextVideoRef}\n            src={getVideoSrc(currentIndex)}\n            loop\n            muted\n            id=\"next-video\"\n            className=\"absolute-center invisible absolute z-20 size-64 object-cover object-center\"\n            onLoadedData={handleVideoLoad}\n          />\n\n          <video\n            src={getVideoSrc(\n              currentIndex === totalVideos - 1 ? 1 : currentIndex\n            )}\n            autoPlay\n            loop\n            muted\n            className=\"absolute top-0 left-0 size-full object-cover object-center\"\n            onLoadedData={handleVideoLoad}\n          />\n        </div>\n\n        <h1 className=\"special-font hero-heading text-blue-75 absolute right-5 bottom-5 z-40\">\n          G<b>a</b>ming\n        </h1>\n\n        <div className=\"absolute top-0 left-0 z-40 size-full\">\n          <div className=\"mt-24 px-5 sm:px-10\">\n            <h1 className=\"special-font hero-heading text-blue-100\">\n              Redefi<b>n</b>ed\n            </h1>\n\n            <p className=\"font-robert-regular mb-5 max-w-64 text-blue-100\">\n              Enter the Metagame Layer <br />\n              Unleash the Play Economy\n            </p>\n\n            <Button\n              id=\"watch-trailer\"\n              leftIcon={TiLocationArrow}\n              containerClass=\"bg-yellow-300 flex-center gap-1\"\n            >\n              Watch Trailer\n            </Button>\n          </div>\n        </div>\n      </div>\n\n      <h1 className=\"special-font hero-heading absolute right-5 bottom-5 text-black\">\n        G<b>a</b>ming\n      </h1>\n    </section>\n  );\n};\n",
              "prov": [
                {
                  "t": "link",
                  "href": "https://github.com/sanidhyy/game-website/blob/80d37837da92d5b15776c05b7db2c0794932cc9e/src/components/hero.tsx#L13-L178",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F249"
                    }
                  ]
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "https://dashboard.exa.ai/playground/search?q=%40gsap/react%20GitHub%20projects",
                  "label": [
                    {
                      "t": "text",
                      "text": "More projects using "
                    },
                    {
                      "t": "fact",
                      "fact": "F232"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            },
            {
              "label": [
                {
                  "t": "text",
                  "text": "Quickstart"
                }
              ],
              "language": "tsx",
              "code": "import { useRef } from 'react';\nimport gsap from 'gsap';\nimport { useGSAP } from '@gsap/react';\ngsap.registerPlugin(useGSAP);\n\nexport default function MoveBox() {\n  const container = useRef(null);\n  useGSAP(() => { gsap.to('.box', { x: 100 }); }, { scope: container });\n  return <div ref={container}><div className=\"box\">Box</div></div>;\n}\n",
              "prov": [
                {
                  "t": "text",
                  "text": "From "
                },
                {
                  "t": "link",
                  "href": "https://github.com/greensock/react/blob/b7f44ca767eb93390f965d6f19679e2b77be7966/README.md",
                  "label": [
                    {
                      "t": "text",
                      "text": "README.md"
                    }
                  ]
                }
              ]
            }
          ],
          "install": [
            {
              "t": "fact",
              "fact": "F237"
            }
          ]
        }
      ]
    }
  ],
  "questions": [
    {
      "q": "Which React animation library should I use?",
      "a": [
        {
          "t": "link",
          "href": "#motion",
          "label": [
            {
              "t": "text",
              "text": "motion"
            }
          ]
        },
        {
          "t": "text",
          "text": " suits layout animations and exit animations for departing components. "
        },
        {
          "t": "link",
          "href": "#react-spring",
          "label": [
            {
              "t": "text",
              "text": "@react-spring/web"
            }
          ]
        },
        {
          "t": "text",
          "text": " suits spring-driven values that update without React renders. "
        },
        {
          "t": "link",
          "href": "#autoanimate",
          "label": [
            {
              "t": "text",
              "text": "@formkit/auto-animate"
            }
          ]
        },
        {
          "t": "text",
          "text": " suits lists that animate added, removed, and moved children from one parent ref."
        }
      ]
    },
    {
      "q": "What is Motion for React?",
      "a": [
        {
          "t": "link",
          "href": "#motion",
          "label": [
            {
              "t": "text",
              "text": "motion"
            }
          ]
        },
        {
          "t": "text",
          "text": " animates React element size and position when layouts change. Its AnimatePresence component runs exit animations for departing components."
        }
      ]
    },
    {
      "q": "What is React Spring?",
      "a": [
        {
          "t": "link",
          "href": "#react-spring",
          "label": [
            {
              "t": "text",
              "text": "@react-spring/web"
            }
          ]
        },
        {
          "t": "text",
          "text": " builds animated React interfaces with spring-driven values. Its api.start() method changes animation targets without rerendering."
        }
      ]
    },
    {
      "q": "How do I use Lottie animations in React?",
      "a": [
        {
          "t": "link",
          "href": "#lottie-react",
          "label": [
            {
              "t": "text",
              "text": "lottie-react"
            }
          ]
        },
        {
          "t": "text",
          "text": " plays Lottie animations through one React component, with access to the whole engine for more control."
        }
      ]
    },
    {
      "q": "What is React Transition Group?",
      "a": [
        {
          "t": "link",
          "href": "#react-transition-group",
          "label": [
            {
              "t": "text",
              "text": "react-transition-group"
            }
          ]
        },
        {
          "t": "text",
          "text": " provides a React component toolset for managing animations."
        }
      ]
    }
  ],
  "facts": {
    "F1": {
      "label": "Library name, motion",
      "display": "Motion",
      "asOf": "2026-11-17"
    },
    "F2": {
      "label": "Monthly downloads, motion",
      "display": "123.2M",
      "asOf": "2026-11-10"
    },
    "F3": {
      "label": "License, motion",
      "display": "MIT",
      "asOf": "2026-11-17"
    },
    "F4": {
      "label": "Package release, motion",
      "display": "14.12.0",
      "asOf": "2026-11-17"
    },
    "F5": {
      "label": "Undated package release, motion",
      "display": "v14.12.0",
      "asOf": "2026-11-17"
    },
    "F6": {
      "label": "Repository stars, motion",
      "display": "35.1K",
      "asOf": "2026-11-17"
    },
    "F7": {
      "label": "Automatic layout, motion",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F8": {
      "label": "Exit transitions, motion",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F9": {
      "label": "Reduced motion, motion",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F10": {
      "label": "React cleanup, motion",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F11": {
      "label": "Install, motion",
      "display": "npm install motion",
      "asOf": "2026-11-17"
    },
    "F12": {
      "label": "What it does, motion",
      "display": "Animates React element size and position when layouts change.",
      "asOf": "2026-11-17"
    },
    "F13": {
      "label": "strengths lead, motion",
      "display": "Animates layout changes automatically",
      "asOf": "2026-11-17"
    },
    "F14": {
      "label": "strengths, motion",
      "display": "Add layout to animate size and position changes after React renders.",
      "asOf": "2026-11-17"
    },
    "F15": {
      "label": "strengths lead, motion",
      "display": "Animates departing React components",
      "asOf": "2026-11-17"
    },
    "F16": {
      "label": "strengths, motion",
      "display": "Wrap motion components in AnimatePresence to run exit animations.",
      "asOf": "2026-11-17"
    },
    "F17": {
      "label": "limitations lead, motion",
      "display": "Exit tracking needs stable keys",
      "asOf": "2026-11-17"
    },
    "F18": {
      "label": "limitations, motion",
      "display": "Give AnimatePresence children stable keys so exit animations can run.",
      "asOf": "2026-11-17"
    },
    "F19": {
      "label": "limitations lead, motion",
      "display": "Inline elements need different display",
      "asOf": "2026-11-17"
    },
    "F20": {
      "label": "limitations, motion",
      "display": "Use block or inline-block elements for layout animations.",
      "asOf": "2026-11-17"
    },
    "F21": {
      "label": "Quickstart, motion",
      "display": "import { motion } from \"motion/react\"\n  \nfunction Component() {\n  return <motion.button animate={{ opacity: 1 }} />\n}\n",
      "asOf": "2026-11-17"
    },
    "F22": {
      "label": "Project function, motion",
      "display": "export default function AnimatedNumber({\n  value,\n  className,\n}: {\n  value: number;\n  className?: string;\n}) {\n  const val = useMotionValue(value);\n  const transformedVal = useTransform(val, (v) => Math.floor(v));\n\n  useEffect(() => {\n    animate(val, value, spring);\n  }, [val, value]);\n\n  return <motion.span className={className}>{transformedVal}</motion.span>;\n}\n",
      "asOf": "2026-11-17"
    },
    "F23": {
      "label": "Project function reference, motion",
      "display": "AnimatedNumber.tsx · AnimatedNumber()",
      "asOf": "2026-11-17"
    },
    "F24": {
      "label": "Project repository, motion",
      "display": "DestinyItemManager/DIM",
      "asOf": "2026-11-17"
    },
    "F25": {
      "label": "Project stars, DestinyItemManager/DIM",
      "display": "2.2K",
      "asOf": "2026-11-17"
    },
    "F26": {
      "label": "Project push date, DestinyItemManager/DIM",
      "display": "Nov 2026",
      "asOf": "2026-11-09"
    },
    "F27": {
      "label": "Library name, gsap",
      "display": "GSAP",
      "asOf": "2026-11-17"
    },
    "F28": {
      "label": "Monthly downloads, gsap",
      "display": "29.5M",
      "asOf": "2026-11-10"
    },
    "F29": {
      "label": "License, gsap",
      "display": "GSAP Standard",
      "asOf": "2026-11-17"
    },
    "F30": {
      "label": "Package release, gsap",
      "display": "3.15.1, Nov 2026",
      "asOf": "2026-11-04"
    },
    "F31": {
      "label": "Package release date, gsap",
      "display": "Nov 2026",
      "asOf": "2026-11-04"
    },
    "F32": {
      "label": "Repository stars, gsap",
      "display": "30.5K",
      "asOf": "2026-11-17"
    },
    "F33": {
      "label": "Automatic layout, gsap",
      "display": "Via plugin",
      "asOf": "2026-11-17"
    },
    "F34": {
      "label": "Reduced motion, gsap",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F35": {
      "label": "React cleanup, gsap",
      "display": "Via plugin",
      "asOf": "2026-11-17"
    },
    "F36": {
      "label": "Install, gsap",
      "display": "npm install gsap @gsap/react",
      "asOf": "2026-11-17"
    },
    "F37": {
      "label": "What it does, gsap",
      "display": "Animates DOM properties, SVG, and JavaScript values across frameworks.",
      "asOf": "2026-11-17"
    },
    "F38": {
      "label": "strengths lead, gsap",
      "display": "Composes animation timelines",
      "asOf": "2026-11-17"
    },
    "F39": {
      "label": "strengths, gsap",
      "display": "Combine animations on a timeline and control their sequence.",
      "asOf": "2026-11-17"
    },
    "F40": {
      "label": "strengths lead, gsap",
      "display": "Adapts to media queries",
      "asOf": "2026-11-17"
    },
    "F41": {
      "label": "strengths, gsap",
      "display": "Use matchMedia() to build responsive and reduced-motion animation rules.",
      "asOf": "2026-11-17"
    },
    "F42": {
      "label": "limitations lead, gsap",
      "display": "Automatic cleanup uses React integration",
      "asOf": "2026-11-17"
    },
    "F43": {
      "label": "limitations, gsap",
      "display": "Add useGSAP to revert animations automatically during React cleanup.",
      "asOf": "2026-11-17"
    },
    "F44": {
      "label": "limitations lead, gsap",
      "display": "Delayed callbacks need contextSafe",
      "asOf": "2026-11-17"
    },
    "F45": {
      "label": "limitations, gsap",
      "display": "Wrap delayed callbacks with contextSafe to include them in cleanup.",
      "asOf": "2026-11-17"
    },
    "F46": {
      "label": "Quickstart, gsap",
      "display": "import React from \"https://esm.sh/react@19.1.0\";\nimport ReactDOM from \"https://esm.sh/react-dom@19.1.0/client\";\n\nimport gsap from \"https://esm.sh/gsap@3.15.0\";\nimport { useGSAP } from \"https://esm.sh/@gsap/react?deps=react@19.1.0\";\n\ngsap.registerPlugin(useGSAP);\n\nconst { useRef } = React;\n\nfunction App() {\n  const container = useRef();\n  const circle = useRef();\n\n  useGSAP(\n    () => {\n      // use selectors...\n      gsap.to(\".box\", { rotation: \"+=360\", duration: 3 });\n\n      // or refs...\n      gsap.to(circle.current, { rotation: \"-=360\", duration: 3 });\n    },\n    { scope: container }\n  ); // <-- scope for selector text (optional)\n\n  return (\n    <div className=\"App\">\n      <div ref={container} className=\"container\">\n        <div className=\"box gradient-blue\">selector</div>\n        <div className=\"circle gradient-green\" ref={circle}>\n          Ref\n        </div>\n      </div>\n      <div className=\"box gradient-blue\">selector</div>\n    </div>\n  );\n}\n\nconst root = ReactDOM.createRoot(document.getElementById(\"root\"));\nroot.render(<App />);\n",
      "asOf": "2026-11-17"
    },
    "F47": {
      "label": "Project function, gsap",
      "display": "const reveal = (initial, vars) => {\n        const accent = liveRef.current.accentColor;\n        const tl = gsap.timeline(vars);\n        tl.fromTo(\n          pieces,\n          { ...fromVars, willChange: 'transform, opacity' },\n          { ...toVars, duration, ease: easing, stagger: order, immediateRender: initial },\n          0\n        );\n        if (accent) {\n          tl.fromTo(\n            pieces,\n            { color: accent },\n            {\n              color: getComputedStyle(el).color,\n              duration: duration * 0.7,\n              ease: 'power1.inOut',\n              stagger: order,\n              immediateRender: initial\n            },\n            duration * 0.3\n          );\n        }\n        tl.set(pieces, { clearProps: accent ? `${settle},color` : settle });\n        return tl;\n      };\n",
      "asOf": "2026-11-17"
    },
    "F48": {
      "label": "Project function reference, gsap",
      "display": "SplitText.jsx · reveal()",
      "asOf": "2026-11-17"
    },
    "F49": {
      "label": "Project repository, gsap",
      "display": "DavidHDev/react-bits",
      "asOf": "2026-11-17"
    },
    "F50": {
      "label": "Project stars, DavidHDev/react-bits",
      "display": "51.8K",
      "asOf": "2026-11-17"
    },
    "F51": {
      "label": "Project push date, DavidHDev/react-bits",
      "display": "Nov 2026",
      "asOf": "2026-11-10"
    },
    "F52": {
      "label": "Library name, @react-spring/web",
      "display": "React Spring",
      "asOf": "2026-11-17"
    },
    "F53": {
      "label": "Monthly downloads, @react-spring/web",
      "display": "25.3M",
      "asOf": "2026-11-10"
    },
    "F54": {
      "label": "License, @react-spring/web",
      "display": "MIT",
      "asOf": "2026-11-17"
    },
    "F55": {
      "label": "Package release, @react-spring/web",
      "display": "10.1.2, Jun 2026",
      "asOf": "2026-06-24"
    },
    "F56": {
      "label": "Package release date, @react-spring/web",
      "display": "Jun 2026",
      "asOf": "2026-06-24"
    },
    "F57": {
      "label": "Repository stars, @react-spring/web",
      "display": "29.3K",
      "asOf": "2026-11-17"
    },
    "F58": {
      "label": "Exit transitions, @react-spring/web",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F59": {
      "label": "Reduced motion, @react-spring/web",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F60": {
      "label": "React cleanup, @react-spring/web",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F61": {
      "label": "Install, @react-spring/web",
      "display": "npm install @react-spring/web",
      "asOf": "2026-11-17"
    },
    "F62": {
      "label": "What it does, @react-spring/web",
      "display": "Builds animated React interfaces with spring-driven values.",
      "asOf": "2026-11-17"
    },
    "F63": {
      "label": "strengths lead, @react-spring/web",
      "display": "Animates removable items",
      "asOf": "2026-11-17"
    },
    "F64": {
      "label": "strengths, @react-spring/web",
      "display": "Use useTransition to animate items as they enter and leave.",
      "asOf": "2026-11-17"
    },
    "F65": {
      "label": "strengths lead, @react-spring/web",
      "display": "Updates without React renders",
      "asOf": "2026-11-17"
    },
    "F66": {
      "label": "strengths, @react-spring/web",
      "display": "Use api.start() to change animation targets without rerendering.",
      "asOf": "2026-11-17"
    },
    "F67": {
      "label": "limitations lead, @react-spring/web",
      "display": "Spring styles need animated elements",
      "asOf": "2026-11-17"
    },
    "F68": {
      "label": "limitations, @react-spring/web",
      "display": "Pass spring-driven styles to animated elements to update the display.",
      "asOf": "2026-11-17"
    },
    "F69": {
      "label": "Quickstart, @react-spring/web",
      "display": "import { useSpring, animated } from '@react-spring/web'\n\nexport default function MyComponent() {\n  const [springs, api] = useSpring(() => ({\n    from: { x: 0 },\n  }))\n\n  const handleClick = () => {\n    api.start({\n      from: {\n        x: 0,\n      },\n      to: {\n        x: 100,\n      },\n    })\n  }\n\n  return (\n    <animated.div\n      onClick={handleClick}\n      style={{\n        width: 80,\n        height: 80,\n        background: '#ff6d6d',\n        borderRadius: 8,\n        ...springs,\n      }}\n    />\n  )\n}\n",
      "asOf": "2026-11-17"
    },
    "F70": {
      "label": "Project function, @react-spring/web",
      "display": "export default function App() {\n  const [{ y }, api] = useSpring(() => ({ y: height }))\n\n  const open = ({ canceled }) => {\n    // when cancel is true, it means that the user passed the upwards threshold\n    // so we change the spring config to create a nice wobbly effect\n    api.start({ y: 0, immediate: false, config: canceled ? config.wobbly : config.stiff })\n  }\n  const close = (velocity = 0) => {\n    api.start({ y: height, immediate: false, config: { ...config.stiff, velocity } })\n  }\n\n  const bind = useDrag(\n    ({ last, velocity: [, vy], direction: [, dy], offset: [, oy], cancel, canceled }) => {\n      // if the user drags up passed a threshold, then we cancel\n      // the drag so that the sheet resets to its open position\n      if (oy < -70) cancel()\n\n      // when the user releases the sheet, we check whether it passed\n      // the threshold for it to close, or if we reset it to its open positino\n      if (last) {\n        oy > height * 0.5 || (vy > 0.5 && dy > 0) ? close(vy) : open({ canceled })\n      }\n      // when the user keeps dragging, we just move the sheet according to\n      // the cursor position\n      else api.start({ y: oy, immediate: true })\n    },\n    { from: () => [0, y.get()], filterTaps: true, bounds: { top: 0 }, rubberband: true }\n  )\n\n  const display = y.to((py) => (py < height ? 'block' : 'none'))\n\n  const bgStyle = {\n    transform: y.to([0, height], ['translateY(-8%) scale(1.16)', 'translateY(0px) scale(1.05)']),\n    opacity: y.to([0, height], [0.4, 1], 'clamp')\n  }\n  return (\n    <div className=\"flex\" style={{ overflow: 'hidden' }}>\n      <a.div className={styles.bg} onClick={() => close()} style={bgStyle}>\n        <img\n          src=\"https://images.pexels.com/photos/1239387/pexels-photo-1239387.jpeg?auto=compress&cs=tinysrgb&dpr=2&h=650&w=940\"\n          alt=\"\"\n        />\n        <img\n          src=\"https://images.pexels.com/photos/5181179/pexels-photo-5181179.jpeg?auto=compress&cs=tinysrgb&dpr=2&h=650&w=940\"\n          alt=\"\"\n        />\n      </a.div>\n      <div className={styles.actionBtn} onClick={open} />\n      <a.div className={styles.sheet} {...bind()} style={{ display, bottom: `calc(-100vh + ${height - 100}px)`, y }}>\n        {items.map((entry, i) => (\n          <div\n            key={entry}\n            onClick={() => (i < items.length - 1 ? alert('clicked on ' + entry) : close())}\n            children={entry}\n          />\n        ))}\n      </a.div>\n    </div>\n  )\n}\n",
      "asOf": "2026-11-17"
    },
    "F71": {
      "label": "Project function reference, @react-spring/web",
      "display": "App.jsx · App()",
      "asOf": "2026-11-17"
    },
    "F72": {
      "label": "Project repository, @react-spring/web",
      "display": "pmndrs/use-gesture",
      "asOf": "2026-11-17"
    },
    "F73": {
      "label": "Project stars, pmndrs/use-gesture",
      "display": "9.6K",
      "asOf": "2026-11-17"
    },
    "F74": {
      "label": "Project push date, pmndrs/use-gesture",
      "display": "Jul 2024",
      "asOf": "2024-07-15"
    },
    "F75": {
      "label": "Library name, @formkit/auto-animate",
      "display": "AutoAnimate",
      "asOf": "2026-11-17"
    },
    "F76": {
      "label": "Monthly downloads, @formkit/auto-animate",
      "display": "8.3M",
      "asOf": "2026-11-10"
    },
    "F77": {
      "label": "License, @formkit/auto-animate",
      "display": "MIT",
      "asOf": "2026-11-17"
    },
    "F78": {
      "label": "Package release, @formkit/auto-animate",
      "display": "0.10.2, Nov 2026",
      "asOf": "2026-11-06"
    },
    "F79": {
      "label": "Package release date, @formkit/auto-animate",
      "display": "Nov 2026",
      "asOf": "2026-11-06"
    },
    "F80": {
      "label": "Repository stars, @formkit/auto-animate",
      "display": "14.0K",
      "asOf": "2026-11-17"
    },
    "F81": {
      "label": "Automatic layout, @formkit/auto-animate",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F82": {
      "label": "Exit transitions, @formkit/auto-animate",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F83": {
      "label": "Reduced motion, @formkit/auto-animate",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F84": {
      "label": "Install, @formkit/auto-animate",
      "display": "npm install @formkit/auto-animate",
      "asOf": "2026-11-17"
    },
    "F85": {
      "label": "What it does, @formkit/auto-animate",
      "display": "Animates child additions, removals, and moves from a parent element.",
      "asOf": "2026-11-17"
    },
    "F86": {
      "label": "strengths lead, @formkit/auto-animate",
      "display": "Animates DOM changes automatically",
      "asOf": "2026-11-17"
    },
    "F87": {
      "label": "strengths, @formkit/auto-animate",
      "display": "Animate added, removed, and moved children from one parent ref.",
      "asOf": "2026-11-17"
    },
    "F88": {
      "label": "strengths lead, @formkit/auto-animate",
      "display": "Respects reduced motion automatically",
      "asOf": "2026-11-17"
    },
    "F89": {
      "label": "strengths, @formkit/auto-animate",
      "display": "Animations disable when the user requests reduced motion.",
      "asOf": "2026-11-17"
    },
    "F90": {
      "label": "limitations lead, @formkit/auto-animate",
      "display": "Tracks only immediate children",
      "asOf": "2026-11-17"
    },
    "F91": {
      "label": "limitations, @formkit/auto-animate",
      "display": "Changes deeper inside nested descendants do not trigger parent animations.",
      "asOf": "2026-11-17"
    },
    "F92": {
      "label": "limitations lead, @formkit/auto-animate",
      "display": "Flex growth needs explicit width",
      "asOf": "2026-11-17"
    },
    "F93": {
      "label": "limitations, @formkit/auto-animate",
      "display": "Set an explicit width on children that use flex-grow.",
      "asOf": "2026-11-17"
    },
    "F94": {
      "label": "Quickstart, @formkit/auto-animate",
      "display": "import { useEffect, useState } from 'react'\nimport { useAutoAnimate } from '@formkit/auto-animate/react'\n\nfunction Juggle() {\n  const [balls, setBalls] = useState(['red', 'green', 'blue'])\n  const [isEnabled, setIsEnabled] = useState(true)\n  const [parent, enable] = useAutoAnimate({ duration: 500 })\n  function toggle () {\n    enable(!isEnabled)\n    setIsEnabled(!isEnabled)\n  }\n  useEffect(() => {\n    setTimeout(() => {\n      const juggled = [...balls]\n      juggled.push(juggled.shift())\n      setBalls(juggled)\n    }, 600)\n  }, [balls])\n  return (\n    <>\n      <ul ref={parent} className=\"balls\">\n        { balls.map(color => <li key={color} className={color}>{ color }</li>) }\n      </ul>\n      <button onClick={toggle}>\n        { isEnabled ? \"🚫 Disable\" : \"✅ Enable\" } animations\n      </button>\n    </>\n  )\n}\n\nexport default Juggle\n",
      "asOf": "2026-11-17"
    },
    "F95": {
      "label": "Developer need",
      "display": "Automatic React layouts",
      "asOf": "2026-11-17"
    },
    "F96": {
      "label": "Why choose motion",
      "display": "layout prop",
      "asOf": "2026-11-17"
    },
    "F97": {
      "label": "Developer need in introduction",
      "display": "automatic React layouts",
      "asOf": "2026-11-17"
    },
    "F98": {
      "label": "Developer need",
      "display": "Controller-driven updates",
      "asOf": "2026-11-17"
    },
    "F99": {
      "label": "Why choose @react-spring/web",
      "display": "controller API",
      "asOf": "2026-11-17"
    },
    "F100": {
      "label": "Developer need in introduction",
      "display": "controller-driven updates",
      "asOf": "2026-11-17"
    },
    "F101": {
      "label": "Developer need",
      "display": "Sequenced animation",
      "asOf": "2026-11-17"
    },
    "F102": {
      "label": "Why choose gsap",
      "display": "timelines",
      "asOf": "2026-11-17"
    },
    "F103": {
      "label": "Developer need in introduction",
      "display": "sequenced animation",
      "asOf": "2026-11-17"
    },
    "F104": {
      "label": "Developer need",
      "display": "Automatic DOM transitions",
      "asOf": "2026-11-17"
    },
    "F105": {
      "label": "Why choose @formkit/auto-animate",
      "display": "parent ref",
      "asOf": "2026-11-17"
    },
    "F106": {
      "label": "Developer need in introduction",
      "display": "automatic DOM transitions",
      "asOf": "2026-11-17"
    },
    "F107": {
      "label": "Page introduction",
      "display": "React animation libraries let application developers animate interface elements and graphics.",
      "asOf": "2026-11-17"
    },
    "F108": {
      "label": "Library name, react-transition-group",
      "display": "react-transition-group",
      "asOf": "2026-11-20"
    },
    "F109": {
      "label": "Monthly downloads, react-transition-group",
      "display": "208.0M",
      "asOf": "2026-11-20"
    },
    "F110": {
      "label": "License, react-transition-group",
      "display": "BSD-3-Clause",
      "asOf": "2026-11-20"
    },
    "F111": {
      "label": "Package release, react-transition-group",
      "display": "4.4.5",
      "asOf": "2026-11-20"
    },
    "F112": {
      "label": "Package release date, react-transition-group",
      "display": "Aug 2022",
      "asOf": "2026-11-20"
    },
    "F113": {
      "label": "Install, react-transition-group",
      "display": "npm install react-transition-group",
      "asOf": "2026-11-20"
    },
    "F114": {
      "label": "Quickstart, react-transition-group",
      "display": "import { Transition } from 'react-transition-group';\nimport { useRef } from 'react';\n\nexport default function Fade({ visible }) {\n  const nodeRef = useRef(null);\n  return (\n    <Transition nodeRef={nodeRef} in={visible} timeout={300}>\n      {state => (\n        <div ref={nodeRef} style={{\n          transition: 'opacity 300ms ease-in-out',\n          opacity: state === 'entering' || state === 'entered' ? 1 : 0,\n        }}>Hello</div>\n      )}\n    </Transition>\n  );\n}\n",
      "asOf": "2026-11-20"
    },
    "F115": {
      "label": "Official description, react-transition-group",
      "display": "Provides a React component toolset for managing animations.",
      "asOf": "2026-11-20"
    },
    "F116": {
      "label": "Quickstart source file, react-transition-group",
      "display": "website/docs/Transition.mdx",
      "asOf": "2026-11-20"
    },
    "F117": {
      "label": "Repository stars, react-transition-group",
      "display": "10.2K",
      "asOf": "2026-11-20"
    },
    "F118": {
      "label": "Lottie asset playback, react-transition-group",
      "display": "No",
      "asOf": "2026-11-20"
    },
    "F119": {
      "label": "Retains exiting children, react-transition-group",
      "display": "Yes",
      "asOf": "2026-11-20"
    },
    "F120": {
      "label": "Documented animation role, react-transition-group",
      "display": "CSS/lifecycle transition coordination; animation values and CSS remain application-defined",
      "asOf": "2026-11-20"
    },
    "F121": {
      "label": "Reduced-motion integration, react-transition-group",
      "display": "Undocumented",
      "asOf": "2026-11-20"
    },
    "F122": {
      "label": "Observed artifact downloads, react-transition-group",
      "display": "207973620",
      "asOf": "2026-11-20"
    },
    "F123": {
      "label": "Project function, react-transition-group",
      "display": "const Toasts = () => {\n    const toasts = useSelector((state: RootState) => state.toasts, shallowEqual);\n\n    return (\n        <TransitionGroup className=\"toasts\">\n            {toasts.notices?.map((toast: any) => {\n                const { id } = toast;\n\n                return (\n                    <CSSTransition key={id} timeout={TOAST_TRANSITION_TIMEOUT} classNames=\"toast\">\n                        <Toast {...toast} />\n                    </CSSTransition>\n                );\n            })}\n        </TransitionGroup>\n    );\n};",
      "asOf": "2026-11-20"
    },
    "F124": {
      "label": "Project source file, react-transition-group",
      "display": "client/src/components/Toasts/index.tsx",
      "asOf": "2026-11-20"
    },
    "F125": {
      "label": "Project full_name, react-transition-group",
      "display": "AdguardTeam/AdGuardHome",
      "asOf": "2026-11-20"
    },
    "F126": {
      "label": "Project stargazers_count, react-transition-group",
      "display": "38.6K",
      "asOf": "2026-11-20"
    },
    "F127": {
      "label": "Library name, motion",
      "display": "motion",
      "asOf": "2026-11-20"
    },
    "F128": {
      "label": "Monthly downloads, motion",
      "display": "134.5M",
      "asOf": "2026-11-20"
    },
    "F129": {
      "label": "License, motion",
      "display": "MIT",
      "asOf": "2026-11-20"
    },
    "F130": {
      "label": "Package release, motion",
      "display": "14.14.0",
      "asOf": "2026-11-20"
    },
    "F131": {
      "label": "Package release date, motion",
      "display": "Nov 2026",
      "asOf": "2026-11-20"
    },
    "F132": {
      "label": "Install, motion",
      "display": "npm install motion",
      "asOf": "2026-11-20"
    },
    "F133": {
      "label": "Quickstart, motion",
      "display": "import { motion } from \"motion/react\"\n  \nfunction Component() {\n  return <motion.button animate={{ opacity: 1 }} />\n}\n",
      "asOf": "2026-11-20"
    },
    "F134": {
      "label": "Repository stars, motion",
      "display": "35.1K",
      "asOf": "2026-11-20"
    },
    "F135": {
      "label": "Lottie asset playback, motion",
      "display": "No",
      "asOf": "2026-11-20"
    },
    "F136": {
      "label": "Retains exiting children, motion",
      "display": "Yes",
      "asOf": "2026-11-20"
    },
    "F137": {
      "label": "Documented animation role, motion",
      "display": "React value, gesture, presence, and layout animation engine",
      "asOf": "2026-11-20"
    },
    "F138": {
      "label": "Reduced-motion integration, motion",
      "display": "Yes",
      "asOf": "2026-11-20"
    },
    "F139": {
      "label": "Observed artifact downloads, motion",
      "display": "134477379",
      "asOf": "2026-11-20"
    },
    "F140": {
      "label": "Related package counter, motion",
      "display": "framer-motion: 265772280",
      "asOf": "2026-11-20"
    },
    "F141": {
      "label": "Reduced-motion mode, motion",
      "display": "Opt-in useReducedMotion hook; application changes animation options.",
      "asOf": "2026-11-20"
    },
    "F142": {
      "label": "Project function, motion",
      "display": "export default function AnimatedNumber({\n  value,\n  className,\n}: {\n  value: number;\n  className?: string;\n}) {\n  const val = useMotionValue(value);\n  const transformedVal = useTransform(val, (v) => Math.floor(v));\n\n  useEffect(() => {\n    animate(val, value, spring);\n  }, [val, value]);\n\n  return <motion.span className={className}>{transformedVal}</motion.span>;\n}\n",
      "asOf": "2026-11-20"
    },
    "F143": {
      "label": "Project source file, motion",
      "display": "src/app/dim-ui/AnimatedNumber.tsx",
      "asOf": "2026-11-20"
    },
    "F144": {
      "label": "Project full_name, motion",
      "display": "DestinyItemManager/DIM",
      "asOf": "2026-11-20"
    },
    "F145": {
      "label": "Project stargazers_count, motion",
      "display": "2.2K",
      "asOf": "2026-11-20"
    },
    "F146": {
      "label": "Library name, react-smooth",
      "display": "react-smooth",
      "asOf": "2026-11-20"
    },
    "F147": {
      "label": "Monthly downloads, react-smooth",
      "display": "103.6M",
      "asOf": "2026-11-20"
    },
    "F148": {
      "label": "License, react-smooth",
      "display": "MIT",
      "asOf": "2026-11-20"
    },
    "F149": {
      "label": "Package release, react-smooth",
      "display": "4.0.4",
      "asOf": "2026-11-20"
    },
    "F150": {
      "label": "Package release date, react-smooth",
      "display": "Dec 2024",
      "asOf": "2026-11-20"
    },
    "F151": {
      "label": "Install, react-smooth",
      "display": "npm install --save react-smooth",
      "asOf": "2026-11-20"
    },
    "F152": {
      "label": "Quickstart, react-smooth",
      "display": "import Animate from 'react-smooth';\n\nexport default function Fade() {\n  return (\n    <Animate to=\"0\" from=\"1\" attributeName=\"opacity\">\n      <div />\n    </Animate>\n  );\n}\n",
      "asOf": "2026-11-20"
    },
    "F153": {
      "label": "Official description, react-smooth",
      "display": "Animates React components.",
      "asOf": "2026-11-20"
    },
    "F154": {
      "label": "Quickstart source file, react-smooth",
      "display": "README.md",
      "asOf": "2026-11-20"
    },
    "F155": {
      "label": "Repository stars, react-smooth",
      "display": "284",
      "asOf": "2026-11-20"
    },
    "F156": {
      "label": "Lottie asset playback, react-smooth",
      "display": "No",
      "asOf": "2026-11-20"
    },
    "F157": {
      "label": "Retains exiting children, react-smooth",
      "display": "Yes",
      "asOf": "2026-11-20"
    },
    "F158": {
      "label": "Documented animation role, react-smooth",
      "display": "Value interpolation/render props and grouped enter/leave; upstream now unmaintained",
      "asOf": "2026-11-20"
    },
    "F159": {
      "label": "Reduced-motion integration, react-smooth",
      "display": "Undocumented",
      "asOf": "2026-11-20"
    },
    "F160": {
      "label": "Observed artifact downloads, react-smooth",
      "display": "103568290",
      "asOf": "2026-11-20"
    },
    "F161": {
      "label": "Project function, react-smooth",
      "display": "({ width: currWidth, height: currHeight, x: currX, y: currY }: any) => (\n        <Animate\n          canBegin={totalLength > 0}\n          from={`0px ${totalLength === -1 ? 1 : totalLength}px`}\n          to={`${totalLength}px 0px`}\n          attributeName=\"strokeDasharray\"\n          begin={animationBegin}\n          duration={animationDuration}\n          isActive={isAnimationActive}\n          easing={animationEasing}\n        >\n          <path\n            {...filterProps(props, true)}\n            className={layerClass}\n            d={getRectanglePath(currX, currY, currWidth, currHeight, radius)}\n            ref={pathRef}\n          />\n        </Animate>\n      )",
      "asOf": "2026-11-20"
    },
    "F162": {
      "label": "Project source file, react-smooth",
      "display": "src/shape/Rectangle.tsx",
      "asOf": "2026-11-20"
    },
    "F163": {
      "label": "Project full_name, react-smooth",
      "display": "recharts/recharts",
      "asOf": "2026-11-20"
    },
    "F164": {
      "label": "Project stargazers_count, react-smooth",
      "display": "27.7K",
      "asOf": "2026-11-20"
    },
    "F165": {
      "label": "Library name, @react-spring/web",
      "display": "@react-spring/web",
      "asOf": "2026-11-20"
    },
    "F166": {
      "label": "Monthly downloads, @react-spring/web",
      "display": "26.7M",
      "asOf": "2026-11-20"
    },
    "F167": {
      "label": "License, @react-spring/web",
      "display": "MIT",
      "asOf": "2026-11-20"
    },
    "F168": {
      "label": "Package release, @react-spring/web",
      "display": "10.1.2",
      "asOf": "2026-11-20"
    },
    "F169": {
      "label": "Package release date, @react-spring/web",
      "display": "Jun 2026",
      "asOf": "2026-11-20"
    },
    "F170": {
      "label": "Install, @react-spring/web",
      "display": "yarn add @react-spring/web",
      "asOf": "2026-11-20"
    },
    "F171": {
      "label": "Quickstart, @react-spring/web",
      "display": "import { useSpring, animated } from '@react-spring/web';\n\nexport default function App() {\n  const springs = useSpring({ from: { x: 0 }, to: { x: 100 } });\n  return <animated.div style={springs}>Hello</animated.div>;\n}\n",
      "asOf": "2026-11-20"
    },
    "F172": {
      "label": "Repository stars, @react-spring/web",
      "display": "29.3K",
      "asOf": "2026-11-20"
    },
    "F173": {
      "label": "Lottie asset playback, @react-spring/web",
      "display": "No",
      "asOf": "2026-11-20"
    },
    "F174": {
      "label": "Retains exiting children, @react-spring/web",
      "display": "Yes",
      "asOf": "2026-11-20"
    },
    "F175": {
      "label": "Documented animation role, @react-spring/web",
      "display": "Spring-driven animated DOM values, transitions, and imperative controllers",
      "asOf": "2026-11-20"
    },
    "F176": {
      "label": "Reduced-motion integration, @react-spring/web",
      "display": "Yes",
      "asOf": "2026-11-20"
    },
    "F177": {
      "label": "Observed artifact downloads, @react-spring/web",
      "display": "26718021",
      "asOf": "2026-11-20"
    },
    "F178": {
      "label": "Related package counter, @react-spring/web",
      "display": "react-spring: 5537908",
      "asOf": "2026-11-20"
    },
    "F179": {
      "label": "Reduced-motion mode, @react-spring/web",
      "display": "Opt-in useReducedMotion hook integrates skipAnimation.",
      "asOf": "2026-11-20"
    },
    "F180": {
      "label": "Project function, @react-spring/web",
      "display": "export default function App() {\n  const [{ y }, api] = useSpring(() => ({ y: height }))\n\n  const open = ({ canceled }) => {\n    // when cancel is true, it means that the user passed the upwards threshold\n    // so we change the spring config to create a nice wobbly effect\n    api.start({ y: 0, immediate: false, config: canceled ? config.wobbly : config.stiff })\n  }\n  const close = (velocity = 0) => {\n    api.start({ y: height, immediate: false, config: { ...config.stiff, velocity } })\n  }\n\n  const bind = useDrag(\n    ({ last, velocity: [, vy], direction: [, dy], offset: [, oy], cancel, canceled }) => {\n      // if the user drags up passed a threshold, then we cancel\n      // the drag so that the sheet resets to its open position\n      if (oy < -70) cancel()\n\n      // when the user releases the sheet, we check whether it passed\n      // the threshold for it to close, or if we reset it to its open positino\n      if (last) {\n        oy > height * 0.5 || (vy > 0.5 && dy > 0) ? close(vy) : open({ canceled })\n      }\n      // when the user keeps dragging, we just move the sheet according to\n      // the cursor position\n      else api.start({ y: oy, immediate: true })\n    },\n    { from: () => [0, y.get()], filterTaps: true, bounds: { top: 0 }, rubberband: true }\n  )\n\n  const display = y.to((py) => (py < height ? 'block' : 'none'))\n\n  const bgStyle = {\n    transform: y.to([0, height], ['translateY(-8%) scale(1.16)', 'translateY(0px) scale(1.05)']),\n    opacity: y.to([0, height], [0.4, 1], 'clamp')\n  }\n  return (\n    <div className=\"flex\" style={{ overflow: 'hidden' }}>\n      <a.div className={styles.bg} onClick={() => close()} style={bgStyle}>\n        <img\n          src=\"https://images.pexels.com/photos/1239387/pexels-photo-1239387.jpeg?auto=compress&cs=tinysrgb&dpr=2&h=650&w=940\"\n          alt=\"\"\n        />\n        <img\n          src=\"https://images.pexels.com/photos/5181179/pexels-photo-5181179.jpeg?auto=compress&cs=tinysrgb&dpr=2&h=650&w=940\"\n          alt=\"\"\n        />\n      </a.div>\n      <div className={styles.actionBtn} onClick={open} />\n      <a.div className={styles.sheet} {...bind()} style={{ display, bottom: `calc(-100vh + ${height - 100}px)`, y }}>\n        {items.map((entry, i) => (\n          <div\n            key={entry}\n            onClick={() => (i < items.length - 1 ? alert('clicked on ' + entry) : close())}\n            children={entry}\n          />\n        ))}\n      </a.div>\n    </div>\n  )\n}\n",
      "asOf": "2026-11-20"
    },
    "F181": {
      "label": "Project source file, @react-spring/web",
      "display": "demo/src/sandboxes/action-sheet/src/App.jsx",
      "asOf": "2026-11-20"
    },
    "F182": {
      "label": "Project full_name, @react-spring/web",
      "display": "pmndrs/use-gesture",
      "asOf": "2026-11-20"
    },
    "F183": {
      "label": "Project stargazers_count, @react-spring/web",
      "display": "9.6K",
      "asOf": "2026-11-20"
    },
    "F184": {
      "label": "Library name, lottie-react",
      "display": "lottie-react",
      "asOf": "2026-11-20"
    },
    "F185": {
      "label": "Monthly downloads, lottie-react",
      "display": "17.3M",
      "asOf": "2026-11-20"
    },
    "F186": {
      "label": "License, lottie-react",
      "display": "MIT",
      "asOf": "2026-11-20"
    },
    "F187": {
      "label": "Package release, lottie-react",
      "display": "3.1.2",
      "asOf": "2026-11-20"
    },
    "F188": {
      "label": "Package release date, lottie-react",
      "display": "Sep 2026",
      "asOf": "2026-11-20"
    },
    "F189": {
      "label": "Install, lottie-react",
      "display": "npm i lottie-react",
      "asOf": "2026-11-20"
    },
    "F190": {
      "label": "Quickstart, lottie-react",
      "display": "import { Lottie } from \"lottie-react\";\n\nexport function Hero() {\n  return <Lottie src=\"/hero.json\" autoplay loop />;\n}\n",
      "asOf": "2026-11-20"
    },
    "F191": {
      "label": "Official description, lottie-react",
      "display": "Plays Lottie animations in React through one component, with access to the whole engine for more control.",
      "asOf": "2026-11-20"
    },
    "F192": {
      "label": "Quickstart source file, lottie-react",
      "display": "README.md",
      "asOf": "2026-11-20"
    },
    "F193": {
      "label": "Repository stars, lottie-react",
      "display": "971",
      "asOf": "2026-11-20"
    },
    "F194": {
      "label": "Lottie asset playback, lottie-react",
      "display": "Yes",
      "asOf": "2026-11-20"
    },
    "F195": {
      "label": "Retains exiting children, lottie-react",
      "display": "No",
      "asOf": "2026-11-20"
    },
    "F196": {
      "label": "Documented animation role, lottie-react",
      "display": "Lottie JSON player with component, command handle, and SVG/canvas/light entrypoints",
      "asOf": "2026-11-20"
    },
    "F197": {
      "label": "Reduced-motion integration, lottie-react",
      "display": "Undocumented",
      "asOf": "2026-11-20"
    },
    "F198": {
      "label": "Observed artifact downloads, lottie-react",
      "display": "17320242",
      "asOf": "2026-11-20"
    },
    "F199": {
      "label": "Library name, @formkit/auto-animate",
      "display": "@formkit/auto-animate",
      "asOf": "2026-11-20"
    },
    "F200": {
      "label": "Monthly downloads, @formkit/auto-animate",
      "display": "9.0M",
      "asOf": "2026-11-20"
    },
    "F201": {
      "label": "License, @formkit/auto-animate",
      "display": "MIT",
      "asOf": "2026-11-20"
    },
    "F202": {
      "label": "Package release, @formkit/auto-animate",
      "display": "0.10.2",
      "asOf": "2026-11-20"
    },
    "F203": {
      "label": "Package release date, @formkit/auto-animate",
      "display": "Nov 2026",
      "asOf": "2026-11-20"
    },
    "F204": {
      "label": "Install, @formkit/auto-animate",
      "display": "npm install @formkit/auto-animate",
      "asOf": "2026-11-20"
    },
    "F205": {
      "label": "Quickstart, @formkit/auto-animate",
      "display": "import { useAutoAnimate } from '@formkit/auto-animate/react'\n\nfunction MyList () {\n  const [animationParent] = useAutoAnimate()\n  return (\n    <ul ref={animationParent}>\n      {/* 🪄 Magic animations for your list */}\n    </ul>\n  )\n}\n",
      "asOf": "2026-11-20"
    },
    "F206": {
      "label": "Repository stars, @formkit/auto-animate",
      "display": "14.0K",
      "asOf": "2026-11-20"
    },
    "F207": {
      "label": "Lottie asset playback, @formkit/auto-animate",
      "display": "No",
      "asOf": "2026-11-20"
    },
    "F208": {
      "label": "Retains exiting children, @formkit/auto-animate",
      "display": "Yes",
      "asOf": "2026-11-20"
    },
    "F209": {
      "label": "Documented animation role, @formkit/auto-animate",
      "display": "Observe child additions, removals, and movements with one parent ref",
      "asOf": "2026-11-20"
    },
    "F210": {
      "label": "Reduced-motion integration, @formkit/auto-animate",
      "display": "Yes",
      "asOf": "2026-11-20"
    },
    "F211": {
      "label": "Observed artifact downloads, @formkit/auto-animate",
      "display": "9036795",
      "asOf": "2026-11-20"
    },
    "F212": {
      "label": "Reduced-motion mode, @formkit/auto-animate",
      "display": "Respects prefers-reduced-motion by default; explicit override option exists.",
      "asOf": "2026-11-20"
    },
    "F213": {
      "label": "Project function, @formkit/auto-animate",
      "display": "(node: HTMLTableSectionElement | null) => {\n    if (node && !autoAnimateInitialized.current) {\n      autoAnimate(node);\n      autoAnimateInitialized.current = true;\n    }\n  }",
      "asOf": "2026-11-20"
    },
    "F214": {
      "label": "Project source file, @formkit/auto-animate",
      "display": "app/examples/using-with-auto-animate/UsingWithAutoAnimateExample.tsx",
      "asOf": "2026-11-20"
    },
    "F215": {
      "label": "Project full_name, @formkit/auto-animate",
      "display": "icflorescu/mantine-datatable",
      "asOf": "2026-11-20"
    },
    "F216": {
      "label": "Project stargazers_count, @formkit/auto-animate",
      "display": "1.3K",
      "asOf": "2026-11-20"
    },
    "F217": {
      "label": "Library name, @lottiefiles/dotlottie-react",
      "display": "@lottiefiles/dotlottie-react",
      "asOf": "2026-11-20"
    },
    "F218": {
      "label": "Monthly downloads, @lottiefiles/dotlottie-react",
      "display": "7.6M",
      "asOf": "2026-11-20"
    },
    "F219": {
      "label": "License, @lottiefiles/dotlottie-react",
      "display": "MIT",
      "asOf": "2026-11-20"
    },
    "F220": {
      "label": "Package release, @lottiefiles/dotlottie-react",
      "display": "0.22.3",
      "asOf": "2026-11-20"
    },
    "F221": {
      "label": "Package release date, @lottiefiles/dotlottie-react",
      "display": "Nov 2026",
      "asOf": "2026-11-20"
    },
    "F222": {
      "label": "Install, @lottiefiles/dotlottie-react",
      "display": "npm install @lottiefiles/dotlottie-react",
      "asOf": "2026-11-20"
    },
    "F223": {
      "label": "Quickstart, @lottiefiles/dotlottie-react",
      "display": "import React from 'react';\nimport { DotLottieReact } from '@lottiefiles/dotlottie-react';\n\nconst App = () => {\n  return (\n    <DotLottieReact\n      src=\"path/to/animation.lottie\"\n      loop\n      autoplay\n    />\n  );\n};\n",
      "asOf": "2026-11-20"
    },
    "F224": {
      "label": "Official description, @lottiefiles/dotlottie-react",
      "display": "Wraps the dotlottie-web library for React.",
      "asOf": "2026-11-20"
    },
    "F225": {
      "label": "Quickstart source file, @lottiefiles/dotlottie-react",
      "display": "packages/react/README.md",
      "asOf": "2026-11-20"
    },
    "F226": {
      "label": "Repository stars, @lottiefiles/dotlottie-react",
      "display": "951",
      "asOf": "2026-11-20"
    },
    "F227": {
      "label": "Lottie asset playback, @lottiefiles/dotlottie-react",
      "display": "Yes",
      "asOf": "2026-11-20"
    },
    "F228": {
      "label": "Retains exiting children, @lottiefiles/dotlottie-react",
      "display": "No",
      "asOf": "2026-11-20"
    },
    "F229": {
      "label": "Documented animation role, @lottiefiles/dotlottie-react",
      "display": "Lottie/.lottie browser player with controller events and WASM renderer",
      "asOf": "2026-11-20"
    },
    "F230": {
      "label": "Reduced-motion integration, @lottiefiles/dotlottie-react",
      "display": "Undocumented",
      "asOf": "2026-11-20"
    },
    "F231": {
      "label": "Observed artifact downloads, @lottiefiles/dotlottie-react",
      "display": "7552703",
      "asOf": "2026-11-20"
    },
    "F232": {
      "label": "Library name, @gsap/react",
      "display": "@gsap/react",
      "asOf": "2026-11-20"
    },
    "F233": {
      "label": "Monthly downloads, @gsap/react",
      "display": "6.6M",
      "asOf": "2026-11-20"
    },
    "F234": {
      "label": "License, @gsap/react",
      "display": "SEE LICENSE AT https://gsap.com/standard-license",
      "asOf": "2026-11-20"
    },
    "F235": {
      "label": "Package release, @gsap/react",
      "display": "2.1.2",
      "asOf": "2026-11-20"
    },
    "F236": {
      "label": "Package release date, @gsap/react",
      "display": "Jan 2025",
      "asOf": "2026-11-20"
    },
    "F237": {
      "label": "Install, @gsap/react",
      "display": "npm install gsap @gsap/react",
      "asOf": "2026-11-20"
    },
    "F238": {
      "label": "Quickstart, @gsap/react",
      "display": "import { useRef } from 'react';\nimport gsap from 'gsap';\nimport { useGSAP } from '@gsap/react';\ngsap.registerPlugin(useGSAP);\n\nexport default function MoveBox() {\n  const container = useRef(null);\n  useGSAP(() => { gsap.to('.box', { x: 100 }); }, { scope: container });\n  return <div ref={container}><div className=\"box\">Box</div></div>;\n}\n",
      "asOf": "2026-11-20"
    },
    "F239": {
      "label": "Official description, @gsap/react",
      "display": "Provides tools for using GSAP in React, such as the useGSAP() hook.",
      "asOf": "2026-11-20"
    },
    "F240": {
      "label": "Quickstart source file, @gsap/react",
      "display": "README.md and official GSAP React skill",
      "asOf": "2026-11-20"
    },
    "F241": {
      "label": "Repository stars, @gsap/react",
      "display": "344",
      "asOf": "2026-11-20"
    },
    "F242": {
      "label": "Lottie asset playback, @gsap/react",
      "display": "No",
      "asOf": "2026-11-20"
    },
    "F243": {
      "label": "Retains exiting children, @gsap/react",
      "display": "No",
      "asOf": "2026-11-20"
    },
    "F244": {
      "label": "Documented animation role, @gsap/react",
      "display": "React cleanup/scope hook for separately installed GSAP core; not an independent tween engine",
      "asOf": "2026-11-20"
    },
    "F245": {
      "label": "Reduced-motion integration, @gsap/react",
      "display": "Undocumented",
      "asOf": "2026-11-20"
    },
    "F246": {
      "label": "Observed artifact downloads, @gsap/react",
      "display": "6623934",
      "asOf": "2026-11-20"
    },
    "F247": {
      "label": "Related package counter, @gsap/react",
      "display": "gsap: 32110928",
      "asOf": "2026-11-20"
    },
    "F248": {
      "label": "Project function, @gsap/react",
      "display": "export const Hero = () => {\n  const [currentIndex, setCurrentIndex] = useState(1);\n  const [hasClicked, setHasClicked] = useState(false);\n  const [isLoading, setIsLoading] = useState(true);\n  const [loadedVideos, setLoadedVideos] = useState(0);\n\n  const nextVideoRef = useRef<HTMLVideoElement>(null);\n\n  const totalVideos = 4;\n  const upcomingVideoIndex = (currentIndex % totalVideos) + 1;\n\n  const handleMiniVideoClick = () => {\n    setHasClicked(true);\n\n    setCurrentIndex(upcomingVideoIndex);\n  };\n\n  const VIDEO_KEYS = [\"hero1\", \"hero2\", \"hero3\", \"hero4\"] as const;\n  const getVideoSrc = (i: number) => {\n    const key = VIDEO_KEYS[i - 1]; // Subtract 1 because the array is 0-indexed, but the video indices are 1-based\n    return VIDEO_LINKS[key];\n  };\n\n  const handleVideoLoad = () => {\n    setLoadedVideos((prevVideos) => prevVideos + 1);\n  };\n\n  useEffect(() => {\n    if (loadedVideos === totalVideos - 1) setIsLoading(false);\n  }, [loadedVideos]);\n\n  useGSAP(\n    () => {\n      if (hasClicked) {\n        gsap.set(\"#next-video\", { visibility: \"visible\" });\n\n        gsap.to(\"#next-video\", {\n          transformOrigin: \"center center\",\n          scale: 1,\n          width: \"100%\",\n          height: \"100%\",\n          duration: 1,\n          ease: \"power1.inOut\",\n          onStart: () => {\n            void nextVideoRef.current?.play();\n          },\n        });\n\n        gsap.from(\"#current-video\", {\n          transformOrigin: \"center center\",\n          scale: 0,\n          duration: 1.5,\n          ease: \"power1.inOut\",\n        });\n      }\n    },\n    { dependencies: [currentIndex], revertOnUpdate: true }\n  );\n\n  useGSAP(() => {\n    gsap.set(\"#video-frame\", {\n      clipPath: \"polygon(14% 0%, 72% 0%, 90% 90%, 0% 100%)\",\n      borderRadius: \"0 0 40% 10%\",\n    });\n\n    gsap.from(\"#video-frame\", {\n      clipPath: \"polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%)\",\n      borderRadius: \"0 0 0 0\",\n      ease: \"power1.inOut\",\n      scrollTrigger: {\n        trigger: \"#video-frame\",\n        start: \"center center\",\n        end: \"bottom center\",\n        scrub: true,\n      },\n    });\n  });\n\n  return (\n    <section id=\"hero\" className=\"relative h-dvh w-screen overflow-x-hidden\">\n      {isLoading && (\n        <div className=\"flex-center absolute z-100 h-dvh w-screen overflow-hidden bg-violet-50\">\n          <div className=\"three-body\">\n            <div className=\"three-body__dot\" />\n            <div className=\"three-body__dot\" />\n            <div className=\"three-body__dot\" />\n          </div>\n        </div>\n      )}\n\n      <div\n        id=\"video-frame\"\n        className=\"bg-blue-75 relative z-10 h-dvh w-screen overflow-hidden rounded-lg\"\n      >\n        <div>\n          <div className=\"mask-clip-path absolute-center absolute z-50 size-64 cursor-pointer overflow-hidden rounded-lg\">\n            <div\n              onClick={handleMiniVideoClick}\n              className=\"origin-center scale-50 opacity-0 transition-all duration-500 ease-in hover:scale-100 hover:opacity-100\"\n            >\n              <video\n                ref={nextVideoRef}\n                src={getVideoSrc(upcomingVideoIndex)}\n                loop\n                muted\n                id=\"current-video\"\n                className=\"size-64 origin-center scale-150 object-cover object-center\"\n                onLoadedData={handleVideoLoad}\n              />\n            </div>\n          </div>\n\n          <video\n            ref={nextVideoRef}\n            src={getVideoSrc(currentIndex)}\n            loop\n            muted\n            id=\"next-video\"\n            className=\"absolute-center invisible absolute z-20 size-64 object-cover object-center\"\n            onLoadedData={handleVideoLoad}\n          />\n\n          <video\n            src={getVideoSrc(\n              currentIndex === totalVideos - 1 ? 1 : currentIndex\n            )}\n            autoPlay\n            loop\n            muted\n            className=\"absolute top-0 left-0 size-full object-cover object-center\"\n            onLoadedData={handleVideoLoad}\n          />\n        </div>\n\n        <h1 className=\"special-font hero-heading text-blue-75 absolute right-5 bottom-5 z-40\">\n          G<b>a</b>ming\n        </h1>\n\n        <div className=\"absolute top-0 left-0 z-40 size-full\">\n          <div className=\"mt-24 px-5 sm:px-10\">\n            <h1 className=\"special-font hero-heading text-blue-100\">\n              Redefi<b>n</b>ed\n            </h1>\n\n            <p className=\"font-robert-regular mb-5 max-w-64 text-blue-100\">\n              Enter the Metagame Layer <br />\n              Unleash the Play Economy\n            </p>\n\n            <Button\n              id=\"watch-trailer\"\n              leftIcon={TiLocationArrow}\n              containerClass=\"bg-yellow-300 flex-center gap-1\"\n            >\n              Watch Trailer\n            </Button>\n          </div>\n        </div>\n      </div>\n\n      <h1 className=\"special-font hero-heading absolute right-5 bottom-5 text-black\">\n        G<b>a</b>ming\n      </h1>\n    </section>\n  );\n};\n",
      "asOf": "2026-11-20"
    },
    "F249": {
      "label": "Project source file, @gsap/react",
      "display": "src/components/hero.tsx",
      "asOf": "2026-11-20"
    },
    "F250": {
      "label": "Project full_name, @gsap/react",
      "display": "sanidhyy/game-website",
      "asOf": "2026-11-20"
    },
    "F251": {
      "label": "Project stargazers_count, @gsap/react",
      "display": "159",
      "asOf": "2026-11-20"
    }
  },
  "dataCheckedAt": "2026-11-20",
  "agent": {
    "exaCall": {
      "endpoint": "/search",
      "body": {
        "query": "React animation libraries Motion React Spring GSAP AutoAnimate layout exit transitions reduced motion cleanup project functions",
        "numResults": 5
      },
      "docsUrl": "https://exa.ai/docs/reference/search"
    },
    "calls": []
  }
}
