Skip to content

Instantly share code, notes, and snippets.

@fluid-design-io
fluid-design-io / SequenceScroll.tsx
Last active October 9, 2022 21:34
A canvas based sequence scroll animation player built with framer motion.
import { useTheme } from "@/lib/ThemeContext";
import { MotionValue, useScroll, useSpring } from "framer-motion";
import React, {
forwardRef,
MutableRefObject,
useEffect,
useId,
useRef,
useState,
} from "react";