{
  "animations": [
    {
      "id": "tw-bounce",
      "name": "Bounce",
      "src": "Tailwind CSS",
      "tech": "Tailwind",
      "plat": [
        "Web"
      ],
      "cat": "Attention",
      "beh": "Loop",
      "deps": [
        "tailwindcss"
      ],
      "lic": "MIT",
      "url": "https://tailwindcss.com/docs/animation",
      "sec": "Docs › animation › animate-bounce",
      "demo": "<div class=\"d-box a-bounce\"></div>",
      "stacks": [
        {
          "label": "Tailwind",
          "lang": "html",
          "code": "<div class=\"animate-bounce motion-reduce:animate-none\">\n  <svg class=\"size-6\">…arrow down…</svg>\n</div>"
        },
        {
          "label": "CSS",
          "lang": "css",
          "code": "@keyframes bounce {\n  0%, 100% { transform: translateY(-25%); animation-timing-function: cubic-bezier(.8,0,1,1); }\n  50% { transform: none; animation-timing-function: cubic-bezier(0,0,.2,1); }\n}\n.bounce { animation: bounce 1s infinite; }\n@media (prefers-reduced-motion: reduce) { .bounce { animation: none; } }",
          "tpl": "@keyframes bounce {\n  0%, 100% { transform: translateY(-«h»%); animation-timing-function: cubic-bezier(.8,0,1,1); }\n  50% { transform: none; animation-timing-function: cubic-bezier(0,0,.2,1); }\n}\n.bounce { animation: bounce «dur»s infinite; }\n@media (prefers-reduced-motion: reduce) { .bounce { animation: none; } }"
        }
      ],
      "custom": {
        "params": [
          {
            "type": "number",
            "key": "dur",
            "label": "Duration",
            "unit": "s",
            "default": 1,
            "min": 0.4,
            "max": 3,
            "step": 0.1,
            "presets": [
              [
                "Fast",
                0.6
              ],
              [
                "Normal",
                1
              ],
              [
                "Slow",
                1.6
              ]
            ]
          },
          {
            "type": "number",
            "key": "h",
            "label": "Jump height",
            "unit": "%",
            "default": 25,
            "min": 10,
            "max": 50,
            "step": 5,
            "presets": [
              [
                "Low",
                15
              ],
              [
                "Normal",
                25
              ],
              [
                "High",
                40
              ]
            ]
          }
        ]
      }
    },
    {
      "id": "tw-ping",
      "name": "Ping (live badge)",
      "src": "Tailwind CSS",
      "tech": "Tailwind",
      "plat": [
        "Web"
      ],
      "cat": "Attention",
      "beh": "Loop",
      "deps": [
        "tailwindcss"
      ],
      "lic": "MIT",
      "url": "https://tailwindcss.com/docs/animation",
      "sec": "Docs › animation › Adding a ping animation",
      "demo": "<span class=\"ping\"><i></i><b></b></span>",
      "stacks": [
        {
          "label": "Tailwind",
          "lang": "html",
          "code": "<span class=\"relative flex size-3\">\n  <span class=\"absolute inline-flex h-full w-full animate-ping rounded-full bg-sky-400 opacity-75\"></span>\n  <span class=\"relative inline-flex size-3 rounded-full bg-sky-500\"></span>\n</span>"
        }
      ]
    },
    {
      "id": "tw-spin",
      "name": "Spinner",
      "src": "Tailwind CSS",
      "tech": "Tailwind",
      "plat": [
        "Web",
        "App"
      ],
      "cat": "Loader",
      "beh": "Loop",
      "deps": [
        "tailwindcss"
      ],
      "lic": "MIT",
      "url": "https://tailwindcss.com/docs/animation",
      "sec": "Docs › animation › Adding a spin animation",
      "demo": "<div class=\"a-spin\"></div>",
      "stacks": [
        {
          "label": "Tailwind",
          "lang": "html",
          "code": "<svg class=\"size-5 animate-spin\" viewBox=\"0 0 24 24\">…</svg>"
        },
        {
          "label": "CSS",
          "lang": "css",
          "code": ".spinner {\n  width: 36px; height: 36px; border-radius: 50%;\n  border: 4px solid #e4d9fe; border-top-color: #7d49f8;\n  animation: spin 1s linear infinite;\n}\n@keyframes spin { to { transform: rotate(360deg); } }",
          "tpl": ".spinner {\n  width: 36px; height: 36px; border-radius: 50%;\n  border: 4px solid #e4d9fe; border-top-color: «color»;\n  animation: spin «dur»s linear infinite;\n}\n@keyframes spin { to { transform: rotate(360deg); } }"
        },
        {
          "label": "React Native",
          "lang": "tsx",
          "code": "import { ActivityIndicator } from \"react-native\";\n\n<ActivityIndicator size=\"large\" color=\"#7d49f8\" />",
          "tpl": "import { ActivityIndicator } from \"react-native\";\n\n<ActivityIndicator size=\"large\" color=\"«color»\" />"
        },
        {
          "label": "SwiftUI",
          "lang": "swift",
          "code": "ProgressView()\n  .progressViewStyle(.circular)\n  .tint(.purple)"
        },
        {
          "label": "Flutter",
          "lang": "dart",
          "code": "const CircularProgressIndicator()"
        },
        {
          "label": "Compose",
          "lang": "kotlin",
          "code": "CircularProgressIndicator()"
        }
      ],
      "custom": {
        "params": [
          {
            "type": "color",
            "key": "color",
            "label": "Color",
            "default": "#7d49f8"
          },
          {
            "type": "number",
            "key": "dur",
            "label": "Duration",
            "unit": "s",
            "default": 1,
            "min": 0.3,
            "max": 3,
            "step": 0.1,
            "presets": [
              [
                "Fast",
                0.6
              ],
              [
                "Normal",
                1
              ],
              [
                "Slow",
                1.6
              ]
            ]
          }
        ]
      }
    },
    {
      "id": "tw-pulse",
      "name": "Pulse skeleton",
      "src": "Tailwind CSS",
      "tech": "Tailwind",
      "plat": [
        "Web"
      ],
      "cat": "Loader",
      "beh": "Loop",
      "deps": [
        "tailwindcss"
      ],
      "lic": "MIT",
      "url": "https://tailwindcss.com/docs/animation",
      "sec": "Docs › animation › Adding a pulse animation",
      "demo": "<div class=\"skel\"><div class=\"c\"></div><div class=\"l\"><i style=\"width:110px\"></i><i style=\"width:70px\"></i></div></div>",
      "stacks": [
        {
          "label": "Tailwind",
          "lang": "html",
          "code": "<div class=\"flex animate-pulse gap-4\">\n  <div class=\"size-10 rounded-full bg-gray-200\"></div>\n  <div class=\"flex-1 space-y-3\">\n    <div class=\"h-2 rounded bg-gray-200\"></div>\n    <div class=\"h-2 w-2/3 rounded bg-gray-200\"></div>\n  </div>\n</div>"
        },
        {
          "label": "CSS",
          "lang": "css",
          "code": "@keyframes pulse { 50% { opacity: .5; } }\n.skeleton { animation: pulse 2s cubic-bezier(.4,0,.6,1) infinite; }\n.skeleton .line { height: 8px; border-radius: 4px; background: #e5e7eb; }",
          "tpl": "@keyframes pulse { 50% { opacity: .5; } }\n.skeleton { animation: pulse «dur»s cubic-bezier(.4,0,.6,1) infinite; }\n.skeleton .line { height: 8px; border-radius: 4px; background: #e5e7eb; }"
        }
      ],
      "custom": {
        "params": [
          {
            "type": "number",
            "key": "dur",
            "label": "Duration",
            "unit": "s",
            "default": 2,
            "min": 0.5,
            "max": 4,
            "step": 0.1,
            "presets": [
              [
                "Fast",
                1
              ],
              [
                "Normal",
                2
              ],
              [
                "Slow",
                3
              ]
            ]
          }
        ]
      }
    },
    {
      "id": "ac-fadeinup",
      "name": "Fade In Up",
      "src": "Animate.css",
      "tech": "CSS",
      "plat": [
        "Web",
        "App"
      ],
      "cat": "Entrance",
      "beh": "Once",
      "deps": [
        "animate.css"
      ],
      "lic": "Hippocratic 2.1",
      "url": "https://animate.style/",
      "sec": "Fading entrances › fadeInUp",
      "demo": "<div class=\"d-txt a-fadeinup\">Hello 👋</div>",
      "stacks": [
        {
          "label": "Animate.css",
          "lang": "html",
          "code": "<link rel=\"stylesheet\"\n  href=\"https://cdnjs.cloudflare.com/ajax/libs/animate.css/4.1.1/animate.min.css\" />\n\n<h1 class=\"animate__animated animate__fadeInUp\">Hello</h1>"
        },
        {
          "label": "CSS",
          "lang": "css",
          "code": "@keyframes fade-in-up {\n  from { opacity: 0; transform: translateY(16px); }\n  to   { opacity: 1; transform: none; }\n}\n.fade-in-up { animation: fade-in-up .5s cubic-bezier(0,0,.2,1) both; }\n\n@media (prefers-reduced-motion: reduce) {\n  .fade-in-up { animation: none; }\n}",
          "tpl": "@keyframes fade-in-up {\n  from { opacity: 0; transform: translateY(«dist»px); }\n  to   { opacity: 1; transform: none; }\n}\n.fade-in-up { animation: fade-in-up «dur»s cubic-bezier(0,0,.2,1) both; }\n\n@media (prefers-reduced-motion: reduce) {\n  .fade-in-up { animation: none; }\n}"
        },
        {
          "label": "Tailwind v4",
          "lang": "css + html",
          "deps": [
            "tailwindcss"
          ],
          "code": "/* app.css */\n@theme {\n  --animate-fade-in-up: fade-in-up .5s cubic-bezier(0,0,.2,1) both;\n  @keyframes fade-in-up {\n    from { opacity: 0; transform: translateY(16px); }\n    to   { opacity: 1; transform: none; }\n  }\n}\n\n<h1 class=\"animate-fade-in-up motion-reduce:animate-none\">Hello</h1>",
          "tpl": "/* app.css */\n@theme {\n  --animate-fade-in-up: fade-in-up «dur»s cubic-bezier(0,0,.2,1) both;\n  @keyframes fade-in-up {\n    from { opacity: 0; transform: translateY(«dist»px); }\n    to   { opacity: 1; transform: none; }\n  }\n}\n\n<h1 class=\"animate-fade-in-up motion-reduce:animate-none\">Hello</h1>"
        },
        {
          "label": "React (Motion)",
          "lang": "tsx",
          "deps": [
            "motion"
          ],
          "code": "import { motion } from \"motion/react\";\n\n<motion.h1\n  initial={{ opacity: 0, y: 16 }}\n  animate={{ opacity: 1, y: 0 }}\n  transition={{ duration: 0.5, ease: \"easeOut\" }}\n>\n  Hello\n</motion.h1>",
          "tpl": "import { motion } from \"motion/react\";\n\n<motion.h1\n  initial={{ opacity: 0, y: «dist» }}\n  animate={{ opacity: 1, y: 0 }}\n  transition={{ duration: «dur», ease: \"easeOut\" }}\n>\n  Hello\n</motion.h1>"
        },
        {
          "label": "SwiftUI",
          "lang": "swift",
          "code": "@State private var shown = false\n\nText(\"Hello\")\n  .opacity(shown ? 1 : 0)\n  .offset(y: shown ? 0 : 16)\n  .animation(.easeOut(duration: 0.5), value: shown)\n  .onAppear { shown = true }",
          "tpl": "@State private var shown = false\n\nText(\"Hello\")\n  .opacity(shown ? 1 : 0)\n  .offset(y: shown ? 0 : «dist»)\n  .animation(.easeOut(duration: «dur»), value: shown)\n  .onAppear { shown = true }"
        },
        {
          "label": "Flutter",
          "lang": "dart",
          "deps": [
            "flutter_animate"
          ],
          "code": "// flutter pub add flutter_animate\nText(\"Hello\")\n  .animate()\n  .fadeIn(duration: 500.ms)\n  .slideY(begin: 0.2, curve: Curves.easeOut);",
          "tpl": "// flutter pub add flutter_animate\nText(\"Hello\")\n  .animate()\n  .fadeIn(duration: «dur*1000».ms)\n  .slideY(begin: 0.2, curve: Curves.easeOut);"
        },
        {
          "label": "Compose",
          "lang": "kotlin",
          "code": "var visible by remember { mutableStateOf(false) }\nLaunchedEffect(Unit) { visible = true }\n\nAnimatedVisibility(\n  visible = visible,\n  enter = fadeIn(tween(500)) + slideInVertically(tween(500)) { it / 4 }\n) {\n  Text(\"Hello\")\n}",
          "tpl": "var visible by remember { mutableStateOf(false) }\nLaunchedEffect(Unit) { visible = true }\n\nAnimatedVisibility(\n  visible = visible,\n  enter = fadeIn(tween(«dur*1000»)) + slideInVertically(tween(«dur*1000»)) { it / 4 }\n) {\n  Text(\"Hello\")\n}"
        }
      ],
      "custom": {
        "params": [
          {
            "type": "number",
            "key": "dur",
            "label": "Duration",
            "unit": "s",
            "default": 0.5,
            "min": 0.2,
            "max": 2,
            "step": 0.1,
            "presets": [
              [
                "Fast",
                0.3
              ],
              [
                "Normal",
                0.5
              ],
              [
                "Slow",
                1
              ]
            ]
          },
          {
            "type": "number",
            "key": "dist",
            "label": "Distance",
            "unit": "px",
            "default": 16,
            "min": 4,
            "max": 64,
            "step": 4,
            "presets": [
              [
                "Subtle",
                8
              ],
              [
                "Normal",
                16
              ],
              [
                "Far",
                32
              ]
            ]
          }
        ]
      }
    },
    {
      "id": "ac-headshake",
      "name": "Head Shake (error)",
      "src": "Animate.css",
      "tech": "CSS",
      "plat": [
        "Web"
      ],
      "cat": "Feedback",
      "beh": "Once",
      "deps": [
        "animate.css"
      ],
      "lic": "Hippocratic 2.1",
      "url": "https://animate.style/",
      "sec": "Attention seekers › headShake",
      "demo": "<div class=\"fake-btn a-headshake\" style=\"background:var(--color-action-danger-default)\">Wrong password</div>",
      "stacks": [
        {
          "label": "Animate.css",
          "lang": "js",
          "code": "// Re-apply every time the login fails\nel.classList.remove(\"animate__headShake\");\nvoid el.offsetWidth;\nel.classList.add(\"animate__animated\", \"animate__headShake\");"
        },
        {
          "label": "CSS",
          "lang": "css",
          "code": "@keyframes head-shake {\n  0% { transform: translateX(0); }\n  6.5% { transform: translateX(-6px) rotateY(-9deg); }\n  18.5% { transform: translateX(5px) rotateY(7deg); }\n  31.5% { transform: translateX(-3px) rotateY(-5deg); }\n  43.5% { transform: translateX(2px) rotateY(3deg); }\n  50% { transform: translateX(0); }\n}\n.head-shake { animation: head-shake 1s ease-in-out; }",
          "tpl": "@keyframes head-shake {\n  0% { transform: translateX(0); }\n  6.5% { transform: translateX(-«amp»px) rotateY(-9deg); }\n  18.5% { transform: translateX(«amp*0.83»px) rotateY(7deg); }\n  31.5% { transform: translateX(-«amp*0.5»px) rotateY(-5deg); }\n  43.5% { transform: translateX(«amp*0.33»px) rotateY(3deg); }\n  50% { transform: translateX(0); }\n}\n.head-shake { animation: head-shake «dur»s ease-in-out; }"
        }
      ],
      "custom": {
        "params": [
          {
            "type": "number",
            "key": "dur",
            "label": "Duration",
            "unit": "s",
            "default": 1,
            "min": 0.4,
            "max": 2,
            "step": 0.1,
            "presets": [
              [
                "Fast",
                0.6
              ],
              [
                "Normal",
                1
              ],
              [
                "Slow",
                1.5
              ]
            ]
          },
          {
            "type": "number",
            "key": "amp",
            "label": "Shake strength",
            "unit": "px",
            "default": 6,
            "min": 2,
            "max": 16,
            "step": 1,
            "presets": [
              [
                "Soft",
                3
              ],
              [
                "Normal",
                6
              ],
              [
                "Strong",
                10
              ]
            ]
          }
        ]
      }
    },
    {
      "id": "an-scaleup",
      "name": "Scale Up Center",
      "src": "Animista",
      "tech": "CSS",
      "plat": [
        "Web"
      ],
      "cat": "Entrance",
      "beh": "Once",
      "deps": [],
      "lic": "Free (generated code)",
      "url": "https://animista.net/play/basic/scale-up",
      "sec": "Basic › scale-up › scale-up-center",
      "demo": "<div class=\"d-box a-scaleup\"></div>",
      "stacks": [
        {
          "label": "CSS",
          "lang": "css",
          "code": ".scale-up-center {\n  animation: scale-up-center 0.4s cubic-bezier(0.390, 0.575, 0.565, 1.000) both;\n}\n@keyframes scale-up-center {\n  0%   { transform: scale(0.5); }\n  100% { transform: scale(1); }\n}",
          "tpl": ".scale-up-center {\n  animation: scale-up-center «dur»s cubic-bezier(0.390, 0.575, 0.565, 1.000) both;\n}\n@keyframes scale-up-center {\n  0%   { transform: scale(«from»); }\n  100% { transform: scale(1); }\n}"
        }
      ],
      "custom": {
        "params": [
          {
            "type": "number",
            "key": "dur",
            "label": "Duration",
            "unit": "s",
            "default": 0.4,
            "min": 0.2,
            "max": 1.5,
            "step": 0.05,
            "presets": [
              [
                "Fast",
                0.25
              ],
              [
                "Normal",
                0.4
              ],
              [
                "Slow",
                0.8
              ]
            ]
          },
          {
            "type": "number",
            "key": "from",
            "label": "Start size",
            "unit": "×",
            "default": 0.5,
            "min": 0,
            "max": 0.9,
            "step": 0.1,
            "presets": [
              [
                "From 0",
                0
              ],
              [
                "Half",
                0.5
              ],
              [
                "Subtle",
                0.8
              ]
            ]
          }
        ]
      }
    },
    {
      "id": "hv-grow",
      "name": "Grow (hover)",
      "src": "Hover.css",
      "tech": "CSS",
      "plat": [
        "Web"
      ],
      "cat": "Hover",
      "beh": "On interaction",
      "deps": [],
      "lic": "MIT",
      "url": "https://ianlunn.github.io/Hover/",
      "sec": "2D Transitions › Grow",
      "demo": "<div class=\"fake-btn a-grow\">Hover me</div>",
      "stacks": [
        {
          "label": "CSS",
          "lang": "css",
          "code": ".hvr-grow {\n  display: inline-block;\n  transform: perspective(1px) translateZ(0);\n  transition: transform .3s;\n}\n.hvr-grow:hover,\n.hvr-grow:focus-visible { transform: scale(1.1); }",
          "tpl": ".hvr-grow {\n  display: inline-block;\n  transform: perspective(1px) translateZ(0);\n  transition: transform «dur»s;\n}\n.hvr-grow:hover,\n.hvr-grow:focus-visible { transform: scale(«sc»); }"
        },
        {
          "label": "Tailwind",
          "lang": "html",
          "deps": [
            "tailwindcss"
          ],
          "code": "<button class=\"transition-transform duration-300 hover:scale-110 focus-visible:scale-110 motion-reduce:transition-none\">\n  Hover me\n</button>",
          "tpl": "<button class=\"transition-transform duration-[«dur*1000»ms] hover:scale-[«sc»] focus-visible:scale-[«sc»] motion-reduce:transition-none\">\n  Hover me\n</button>"
        }
      ],
      "custom": {
        "params": [
          {
            "type": "number",
            "key": "sc",
            "label": "Grow to",
            "unit": "×",
            "default": 1.1,
            "min": 1.02,
            "max": 1.5,
            "step": 0.02,
            "presets": [
              [
                "Subtle",
                1.04
              ],
              [
                "Normal",
                1.1
              ],
              [
                "Big",
                1.2
              ]
            ]
          },
          {
            "type": "number",
            "key": "dur",
            "label": "Duration",
            "unit": "s",
            "default": 0.3,
            "min": 0.1,
            "max": 1,
            "step": 0.05,
            "presets": [
              [
                "Fast",
                0.15
              ],
              [
                "Normal",
                0.3
              ],
              [
                "Slow",
                0.5
              ]
            ]
          }
        ]
      }
    },
    {
      "id": "mu-marquee",
      "name": "Logo marquee",
      "src": "Magic UI",
      "tech": "React",
      "plat": [
        "Web"
      ],
      "cat": "Background",
      "beh": "Loop",
      "deps": [
        "motion",
        "tailwindcss",
        "shadcn"
      ],
      "lic": "MIT",
      "url": "https://magicui.design/docs/components/marquee",
      "sec": "Docs › Components › Marquee",
      "demo": "<div class=\"marq\"><div class=\"track\"><span>Figma</span><span>Tailwind</span><span>React</span><span>Vercel</span><span>Space DS</span><span>Figma</span><span>Tailwind</span><span>React</span><span>Vercel</span><span>Space DS</span></div></div>",
      "stacks": [
        {
          "label": "React (Magic UI)",
          "lang": "tsx",
          "code": "// npx shadcn@latest add \"https://magicui.design/r/marquee\"\nimport { Marquee } from \"@/components/magicui/marquee\";\n\n<Marquee pauseOnHover className=\"[--duration:20s]\">\n  {logos.map((l) => <img key={l.name} src={l.src} alt={l.name} />)}\n</Marquee>",
          "tpl": "// npx shadcn@latest add \"https://magicui.design/r/marquee\"\nimport { Marquee } from \"@/components/magicui/marquee\";\n\n<Marquee pauseOnHover className=\"[--duration:«dur»s]\">\n  {logos.map((l) => <img key={l.name} src={l.src} alt={l.name} />)}\n</Marquee>"
        }
      ],
      "custom": {
        "params": [
          {
            "type": "number",
            "key": "dur",
            "label": "Loop duration",
            "unit": "s",
            "default": 20,
            "min": 5,
            "max": 60,
            "step": 1,
            "presets": [
              [
                "Fast",
                10
              ],
              [
                "Normal",
                20
              ],
              [
                "Slow",
                40
              ]
            ]
          }
        ]
      }
    },
    {
      "id": "mu-shimmer",
      "name": "Shimmer Button",
      "src": "Magic UI",
      "tech": "React",
      "plat": [
        "Web"
      ],
      "cat": "Micro-interaction",
      "beh": "Loop",
      "deps": [
        "tailwindcss",
        "shadcn"
      ],
      "lic": "MIT",
      "url": "https://magicui.design/docs/components/shimmer-button",
      "sec": "Docs › Components › Shimmer Button",
      "demo": "<div class=\"shim-btn\">Start for free</div>",
      "stacks": [
        {
          "label": "React (Magic UI)",
          "lang": "tsx",
          "code": "// npx shadcn@latest add \"https://magicui.design/r/shimmer-button\"\nimport { ShimmerButton } from \"@/components/magicui/shimmer-button\";\n\n<ShimmerButton>Start for free</ShimmerButton>",
          "tpl": "// npx shadcn@latest add \"https://magicui.design/r/shimmer-button\"\nimport { ShimmerButton } from \"@/components/magicui/shimmer-button\";\n\n<ShimmerButton shimmerColor=\"«color»\" shimmerDuration=\"«dur»s\">Start for free</ShimmerButton>"
        }
      ],
      "custom": {
        "params": [
          {
            "type": "color",
            "key": "color",
            "label": "Shimmer color",
            "default": "#ffffff"
          },
          {
            "type": "number",
            "key": "dur",
            "label": "Duration",
            "unit": "s",
            "default": 3,
            "min": 1,
            "max": 6,
            "step": 0.5,
            "presets": [
              [
                "Fast",
                2
              ],
              [
                "Normal",
                3
              ],
              [
                "Slow",
                5
              ]
            ]
          }
        ]
      }
    },
    {
      "id": "at-textgen",
      "name": "Text Generate Effect",
      "src": "Aceternity UI",
      "tech": "React",
      "plat": [
        "Web"
      ],
      "cat": "Text",
      "beh": "Once",
      "deps": [
        "motion",
        "tailwindcss"
      ],
      "lic": "Free (free components)",
      "url": "https://ui.aceternity.com/components/text-generate-effect",
      "sec": "Components › Text Generate Effect",
      "demo": "<div class=\"tge\"><span style=\"animation-delay:0s\">Design</span><span style=\"animation-delay:0.18s\">that</span><span style=\"animation-delay:0.36s\">explains</span><span style=\"animation-delay:0.54s\">itself</span></div>",
      "stacks": [
        {
          "label": "React (Aceternity)",
          "lang": "tsx",
          "code": "import { TextGenerateEffect } from \"@/components/ui/text-generate-effect\";\n\n<TextGenerateEffect words=\"Design that explains itself\" />",
          "tpl": "import { TextGenerateEffect } from \"@/components/ui/text-generate-effect\";\n\n<TextGenerateEffect words=\"Design that explains itself\" duration={«dur»} />"
        }
      ],
      "custom": {
        "params": [
          {
            "type": "number",
            "key": "dur",
            "label": "Word fade",
            "unit": "s",
            "default": 0.5,
            "min": 0.1,
            "max": 2,
            "step": 0.1,
            "presets": [
              [
                "Fast",
                0.3
              ],
              [
                "Normal",
                0.5
              ],
              [
                "Slow",
                1
              ]
            ]
          }
        ]
      }
    },
    {
      "id": "rb-split",
      "name": "Split Text",
      "src": "React Bits",
      "tech": "React",
      "plat": [
        "Web"
      ],
      "cat": "Text",
      "beh": "Once",
      "deps": [
        "gsap"
      ],
      "lic": "MIT + Commons Clause",
      "url": "https://reactbits.dev/text-animations/split-text",
      "sec": "Text Animations › Split Text",
      "demo": "<div class=\"d-txt split\"><span style=\"--i:0\">H</span><span style=\"--i:1\">e</span><span style=\"--i:2\">l</span><span style=\"--i:3\">l</span><span style=\"--i:4\">o</span><span style=\"--i:5\">,</span><span style=\"--i:6\">&nbsp;</span><span style=\"--i:7\">w</span><span style=\"--i:8\">o</span><span style=\"--i:9\">r</span><span style=\"--i:10\">l</span><span style=\"--i:11\">d</span></div>",
      "stacks": [
        {
          "label": "React (React Bits)",
          "lang": "tsx",
          "code": "import SplitText from \"./SplitText\";\n\n<SplitText\n  text=\"Hello, world\"\n  delay={50}\n  duration={0.6}\n  splitType=\"chars\"\n/>",
          "tpl": "import SplitText from \"./SplitText\";\n\n<SplitText\n  text=\"Hello, world\"\n  delay={«delay»}\n  duration={«dur»}\n  splitType=\"chars\"\n/>"
        }
      ],
      "custom": {
        "params": [
          {
            "type": "number",
            "key": "delay",
            "label": "Delay between letters",
            "unit": "ms",
            "default": 50,
            "min": 10,
            "max": 200,
            "step": 10,
            "presets": [
              [
                "Fast",
                25
              ],
              [
                "Normal",
                50
              ],
              [
                "Slow",
                100
              ]
            ]
          },
          {
            "type": "number",
            "key": "dur",
            "label": "Duration",
            "unit": "s",
            "default": 0.6,
            "min": 0.2,
            "max": 2,
            "step": 0.1,
            "presets": [
              [
                "Fast",
                0.4
              ],
              [
                "Normal",
                0.6
              ],
              [
                "Slow",
                1
              ]
            ]
          }
        ]
      }
    },
    {
      "id": "mp-shimmer",
      "name": "Text Shimmer (AI thinking)",
      "src": "Motion Primitives",
      "tech": "React",
      "plat": [
        "Web"
      ],
      "cat": "Text",
      "beh": "Loop",
      "deps": [
        "motion",
        "tailwindcss"
      ],
      "lic": "MIT",
      "url": "https://motion-primitives.com/docs/text-shimmer",
      "sec": "Docs › Text › Text Shimmer",
      "demo": "<div class=\"tshim\">Generating answer…</div>",
      "stacks": [
        {
          "label": "React",
          "lang": "tsx",
          "code": "import { TextShimmer } from \"@/components/motion-primitives/text-shimmer\";\n\n<TextShimmer duration={1.5}>Generating answer…</TextShimmer>",
          "tpl": "import { TextShimmer } from \"@/components/motion-primitives/text-shimmer\";\n\n<TextShimmer duration={«dur»}>Generating answer…</TextShimmer>"
        }
      ],
      "custom": {
        "params": [
          {
            "type": "number",
            "key": "dur",
            "label": "Duration",
            "unit": "s",
            "default": 1.5,
            "min": 0.5,
            "max": 4,
            "step": 0.1,
            "presets": [
              [
                "Fast",
                1
              ],
              [
                "Normal",
                1.5
              ],
              [
                "Slow",
                2.5
              ]
            ]
          }
        ]
      }
    },
    {
      "id": "mo-spring",
      "name": "Spring tap",
      "src": "Motion (formerly Framer Motion)",
      "tech": "React",
      "plat": [
        "Web",
        "App"
      ],
      "cat": "Micro-interaction",
      "beh": "On interaction",
      "deps": [
        "motion"
      ],
      "lic": "MIT",
      "url": "https://motion.dev/docs/react-gestures",
      "sec": "Docs › React › Gestures › whileTap",
      "demo": "<div class=\"fake-btn a-spring\">Like</div>",
      "stacks": [
        {
          "label": "React (Motion)",
          "lang": "tsx",
          "code": "import { motion } from \"motion/react\";\n\n<motion.button\n  whileHover={{ scale: 1.05 }}\n  whileTap={{ scale: 0.92 }}\n  transition={{ type: \"spring\", stiffness: 400, damping: 15 }}\n>\n  Like\n</motion.button>",
          "tpl": "import { motion } from \"motion/react\";\n\n<motion.button\n  whileHover={{ scale: 1.05 }}\n  whileTap={{ scale: «press» }}\n  transition={{ type: \"spring\", stiffness: 400, damping: 15 }}\n>\n  Like\n</motion.button>"
        },
        {
          "label": "React Native",
          "lang": "tsx",
          "deps": [
            "react-native-reanimated"
          ],
          "code": "const scale = useSharedValue(1);\nconst style = useAnimatedStyle(() => ({ transform: [{ scale: scale.value }] }));\n\n<Pressable\n  onPressIn={() => (scale.value = withSpring(0.92))}\n  onPressOut={() => (scale.value = withSpring(1))}\n>\n  <Animated.View style={[styles.button, style]}>\n    <Text>Like</Text>\n  </Animated.View>\n</Pressable>",
          "tpl": "const scale = useSharedValue(1);\nconst style = useAnimatedStyle(() => ({ transform: [{ scale: scale.value }] }));\n\n<Pressable\n  onPressIn={() => (scale.value = withSpring(«press»))}\n  onPressOut={() => (scale.value = withSpring(1))}\n>\n  <Animated.View style={[styles.button, style]}>\n    <Text>Like</Text>\n  </Animated.View>\n</Pressable>"
        },
        {
          "label": "SwiftUI",
          "lang": "swift",
          "code": "@GestureState private var pressed = false\n\nText(\"Like\")\n  .scaleEffect(pressed ? 0.92 : 1)\n  .animation(.spring(response: 0.3, dampingFraction: 0.5), value: pressed)\n  .gesture(DragGesture(minimumDistance: 0).updating($pressed) { _, s, _ in s = true })",
          "tpl": "@GestureState private var pressed = false\n\nText(\"Like\")\n  .scaleEffect(pressed ? «press» : 1)\n  .animation(.spring(response: 0.3, dampingFraction: 0.5), value: pressed)\n  .gesture(DragGesture(minimumDistance: 0).updating($pressed) { _, s, _ in s = true })"
        }
      ],
      "custom": {
        "params": [
          {
            "type": "number",
            "key": "press",
            "label": "Press scale",
            "unit": "×",
            "default": 0.92,
            "min": 0.8,
            "max": 0.98,
            "step": 0.01,
            "presets": [
              [
                "Deep",
                0.85
              ],
              [
                "Normal",
                0.92
              ],
              [
                "Light",
                0.96
              ]
            ]
          }
        ]
      }
    },
    {
      "id": "gs-stagger",
      "name": "Staggered entrance",
      "src": "GSAP",
      "tech": "JavaScript",
      "plat": [
        "Web"
      ],
      "cat": "Entrance",
      "beh": "Once",
      "deps": [
        "gsap"
      ],
      "lic": "Free (GSAP license)",
      "url": "https://gsap.com/resources/getting-started/Staggers",
      "sec": "Resources › Getting Started › Staggers",
      "demo": "<div class=\"stag\"><i style=\"--i:0\"></i><i style=\"--i:1\"></i><i style=\"--i:2\"></i><i style=\"--i:3\"></i><i style=\"--i:4\"></i></div>",
      "stacks": [
        {
          "label": "GSAP",
          "lang": "js",
          "code": "import { gsap } from \"gsap\";\n\ngsap.from(\".card\", {\n  y: 40,\n  opacity: 0,\n  duration: 0.6,\n  ease: \"power3.out\",\n  stagger: 0.1,\n});",
          "tpl": "import { gsap } from \"gsap\";\n\ngsap.from(\".card\", {\n  y: «dist»,\n  opacity: 0,\n  duration: «dur»,\n  ease: \"power3.out\",\n  stagger: «st»,\n});"
        }
      ],
      "custom": {
        "params": [
          {
            "type": "number",
            "key": "st",
            "label": "Stagger",
            "unit": "s",
            "default": 0.1,
            "min": 0.02,
            "max": 0.4,
            "step": 0.02,
            "presets": [
              [
                "Tight",
                0.06
              ],
              [
                "Normal",
                0.1
              ],
              [
                "Loose",
                0.2
              ]
            ]
          },
          {
            "type": "number",
            "key": "dur",
            "label": "Duration",
            "unit": "s",
            "default": 0.6,
            "min": 0.2,
            "max": 2,
            "step": 0.1,
            "presets": [
              [
                "Fast",
                0.4
              ],
              [
                "Normal",
                0.6
              ],
              [
                "Slow",
                1
              ]
            ]
          },
          {
            "type": "number",
            "key": "dist",
            "label": "Distance",
            "unit": "px",
            "default": 40,
            "min": 8,
            "max": 120,
            "step": 8,
            "presets": [
              [
                "Subtle",
                24
              ],
              [
                "Normal",
                40
              ],
              [
                "Far",
                80
              ]
            ]
          }
        ]
      }
    },
    {
      "id": "aj-grid",
      "name": "Grid stagger",
      "src": "Anime.js",
      "tech": "JavaScript",
      "plat": [
        "Web"
      ],
      "cat": "Background",
      "beh": "Once",
      "deps": [
        "animejs"
      ],
      "lic": "MIT",
      "url": "https://animejs.com/documentation/utilities/stagger",
      "sec": "Documentation › Utilities › stagger() › Grid",
      "demo": "<div class=\"anime\"><i style=\"--i:0\"></i><i style=\"--i:1\"></i><i style=\"--i:2\"></i><i style=\"--i:3\"></i><i style=\"--i:4\"></i><i style=\"--i:1\"></i><i style=\"--i:2\"></i><i style=\"--i:3\"></i><i style=\"--i:4\"></i><i style=\"--i:5\"></i><i style=\"--i:2\"></i><i style=\"--i:3\"></i><i style=\"--i:4\"></i><i style=\"--i:5\"></i><i style=\"--i:6\"></i></div>",
      "stacks": [
        {
          "label": "Anime.js",
          "lang": "js",
          "code": "import { animate, stagger } from \"animejs\";\n\nanimate(\".dot\", {\n  scale: [0, 1],\n  delay: stagger(80, { grid: [5, 3], from: \"first\" }),\n});",
          "tpl": "import { animate, stagger } from \"animejs\";\n\nanimate(\".dot\", {\n  scale: [0, 1],\n  delay: stagger(«st», { grid: [5, 3], from: \"first\" }),\n});"
        }
      ],
      "custom": {
        "params": [
          {
            "type": "number",
            "key": "st",
            "label": "Stagger",
            "unit": "ms",
            "default": 80,
            "min": 20,
            "max": 200,
            "step": 10,
            "presets": [
              [
                "Tight",
                40
              ],
              [
                "Normal",
                80
              ],
              [
                "Loose",
                140
              ]
            ]
          }
        ]
      }
    },
    {
      "id": "aa-list",
      "name": "Reorder list",
      "src": "AutoAnimate",
      "tech": "React",
      "plat": [
        "Web"
      ],
      "cat": "Transition",
      "beh": "On interaction",
      "deps": [
        "@formkit/auto-animate"
      ],
      "lic": "MIT",
      "url": "https://auto-animate.formkit.com/",
      "sec": "Docs › Usage › React hook",
      "demo": "<div class=\"alist\"><i>Task A</i><i>Task B</i><i>Task C</i></div>",
      "stacks": [
        {
          "label": "React",
          "lang": "tsx",
          "code": "import { useAutoAnimate } from \"@formkit/auto-animate/react\";\n\nconst [parent] = useAutoAnimate();\n\n<ul ref={parent}>\n  {items.map((i) => <li key={i.id}>{i.label}</li>)}\n</ul>",
          "tpl": "import { useAutoAnimate } from \"@formkit/auto-animate/react\";\n\nconst [parent] = useAutoAnimate({ duration: «dur» });\n\n<ul ref={parent}>\n  {items.map((i) => <li key={i.id}>{i.label}</li>)}\n</ul>"
        }
      ],
      "custom": {
        "params": [
          {
            "type": "number",
            "key": "dur",
            "label": "Duration",
            "unit": "ms",
            "default": 250,
            "min": 100,
            "max": 800,
            "step": 50,
            "presets": [
              [
                "Fast",
                150
              ],
              [
                "Normal",
                250
              ],
              [
                "Slow",
                500
              ]
            ]
          }
        ]
      }
    },
    {
      "id": "cl-dots",
      "name": "Dots loader",
      "src": "CSS Loaders",
      "tech": "CSS",
      "plat": [
        "Web"
      ],
      "cat": "Loader",
      "beh": "Loop",
      "deps": [],
      "lic": "Free",
      "url": "https://css-loaders.com/dots/",
      "sec": "Dots",
      "demo": "<div class=\"ldots\"><i></i><i></i><i></i></div>",
      "stacks": [
        {
          "label": "CSS",
          "lang": "css",
          "code": ".loader { display: flex; gap: 8px; }\n.loader i {\n  width: 12px; height: 12px; border-radius: 50%;\n  background: currentColor;\n  animation: dots 1s infinite ease-in-out;\n}\n.loader i:nth-child(2) { animation-delay: .15s; }\n.loader i:nth-child(3) { animation-delay: .3s; }\n@keyframes dots { 50% { transform: translateY(-6px); opacity: 1; } }",
          "tpl": ".loader { display: flex; gap: 8px; }\n.loader i {\n  width: 12px; height: 12px; border-radius: 50%;\n  background: «color»;\n  animation: dots «dur»s infinite ease-in-out;\n}\n.loader i:nth-child(2) { animation-delay: .15s; }\n.loader i:nth-child(3) { animation-delay: .3s; }\n@keyframes dots { 50% { transform: translateY(-6px); opacity: 1; } }"
        }
      ],
      "custom": {
        "params": [
          {
            "type": "color",
            "key": "color",
            "label": "Color",
            "default": "#7d49f8"
          },
          {
            "type": "number",
            "key": "dur",
            "label": "Duration",
            "unit": "s",
            "default": 1,
            "min": 0.4,
            "max": 2.5,
            "step": 0.1,
            "presets": [
              [
                "Fast",
                0.6
              ],
              [
                "Normal",
                1
              ],
              [
                "Slow",
                1.6
              ]
            ]
          }
        ]
      }
    },
    {
      "id": "ld-ring",
      "name": "Ring",
      "src": "LDRS (Uiball)",
      "tech": "Web Components",
      "plat": [
        "Web"
      ],
      "cat": "Loader",
      "beh": "Loop",
      "deps": [
        "ldrs"
      ],
      "lic": "MIT",
      "url": "https://uiball.com/ldrs/",
      "sec": "Loaders › Ring",
      "demo": "<div class=\"ring\"></div>",
      "stacks": [
        {
          "label": "Web Component",
          "lang": "js",
          "code": "import { ring } from \"ldrs\";\nring.register();\n\n<l-ring size=\"40\" stroke=\"5\" speed=\"2\" color=\"coral\"></l-ring>",
          "tpl": "import { ring } from \"ldrs\";\nring.register();\n\n<l-ring size=\"40\" stroke=\"5\" speed=\"«dur»\" color=\"«color»\"></l-ring>"
        }
      ],
      "custom": {
        "params": [
          {
            "type": "color",
            "key": "color",
            "label": "Color",
            "default": "#1b6ddf"
          },
          {
            "type": "number",
            "key": "dur",
            "label": "Duration",
            "unit": "s",
            "default": 2,
            "min": 0.5,
            "max": 5,
            "step": 0.1,
            "presets": [
              [
                "Fast",
                1
              ],
              [
                "Normal",
                2
              ],
              [
                "Slow",
                3
              ]
            ]
          }
        ]
      }
    },
    {
      "id": "uv-morph",
      "name": "Morph loader",
      "src": "Uiverse",
      "tech": "CSS",
      "plat": [
        "Web"
      ],
      "cat": "Loader",
      "beh": "Loop",
      "deps": [],
      "lic": "MIT",
      "url": "https://uiverse.io/loaders",
      "sec": "Elements › Loaders",
      "demo": "<div class=\"morph\"></div>",
      "stacks": [
        {
          "label": "CSS",
          "lang": "css",
          "code": ".loader {\n  width: 38px; height: 38px;\n  background: #7d49f8;\n  animation: morph 1.8s ease-in-out infinite;\n}\n@keyframes morph {\n  0%, 100% { border-radius: 50%; }\n  50% { border-radius: 12px; transform: rotate(180deg); }\n}",
          "tpl": ".loader {\n  width: 38px; height: 38px;\n  background: «color»;\n  animation: morph «dur»s ease-in-out infinite;\n}\n@keyframes morph {\n  0%, 100% { border-radius: 50%; }\n  50% { border-radius: 12px; transform: rotate(180deg); }\n}"
        }
      ],
      "custom": {
        "params": [
          {
            "type": "color",
            "key": "color",
            "label": "Color",
            "default": "#7d49f8"
          },
          {
            "type": "number",
            "key": "dur",
            "label": "Duration",
            "unit": "s",
            "default": 1.8,
            "min": 0.6,
            "max": 4,
            "step": 0.1,
            "presets": [
              [
                "Fast",
                1.2
              ],
              [
                "Normal",
                1.8
              ],
              [
                "Slow",
                2.6
              ]
            ]
          }
        ]
      }
    },
    {
      "id": "so-toast",
      "name": "Stacked toast",
      "src": "Sonner (Emil Kowalski)",
      "tech": "React",
      "plat": [
        "Web"
      ],
      "cat": "Feedback",
      "beh": "Once",
      "deps": [
        "sonner"
      ],
      "lic": "MIT",
      "url": "https://sonner.emilkowal.ski/",
      "sec": "Docs › toast.success",
      "demo": "<div class=\"toasts\"><div class=\"toast b\">File uploaded</div><div class=\"toast\">✓ Changes saved</div></div>",
      "stacks": [
        {
          "label": "React (Sonner)",
          "lang": "tsx",
          "code": "import { Toaster, toast } from \"sonner\";\n\n<Toaster richColors />\n\n<button onClick={() => toast.success(\"Changes saved\")}>\n  Save\n</button>"
        }
      ]
    },
    {
      "id": "ge-spinner",
      "name": "Bar spinner",
      "src": "Vercel Geist",
      "tech": "CSS",
      "plat": [
        "Web"
      ],
      "cat": "Loader",
      "beh": "Loop",
      "deps": [],
      "lic": "Reference (recreated in CSS)",
      "url": "https://vercel.com/geist/spinner",
      "sec": "Geist › Components › Spinner",
      "demo": "<div class=\"gspin\"><i style=\"transform:rotate(0deg);animation-delay:-1.2s\"></i><i style=\"transform:rotate(30deg);animation-delay:-1.1s\"></i><i style=\"transform:rotate(60deg);animation-delay:-1.0s\"></i><i style=\"transform:rotate(90deg);animation-delay:-0.9s\"></i><i style=\"transform:rotate(120deg);animation-delay:-0.8s\"></i><i style=\"transform:rotate(150deg);animation-delay:-0.7s\"></i><i style=\"transform:rotate(180deg);animation-delay:-0.6s\"></i><i style=\"transform:rotate(210deg);animation-delay:-0.5s\"></i><i style=\"transform:rotate(240deg);animation-delay:-0.4s\"></i><i style=\"transform:rotate(270deg);animation-delay:-0.3s\"></i><i style=\"transform:rotate(300deg);animation-delay:-0.2s\"></i><i style=\"transform:rotate(330deg);animation-delay:-0.1s\"></i></div>",
      "stacks": [
        {
          "label": "CSS",
          "lang": "css",
          "code": "/* Recreation: 12 bars rotated 30° with staggered delay */\n.spinner i {\n  position: absolute; width: 3px; height: 8px;\n  transform-origin: 1.5px 14px;\n  animation: fade 1.2s linear infinite;\n}\n@keyframes fade { from { opacity: 1 } to { opacity: .15 } }",
          "tpl": "/* Recreation: 12 bars rotated 30° with staggered delay */\n.spinner i {\n  position: absolute; width: 3px; height: 8px;\n  transform-origin: 1.5px 14px;\n  background: «color»;\n  animation: fade «dur»s linear infinite;\n}\n@keyframes fade { from { opacity: 1 } to { opacity: .15 } }"
        }
      ],
      "custom": {
        "params": [
          {
            "type": "color",
            "key": "color",
            "label": "Color",
            "default": "#6b717b"
          },
          {
            "type": "number",
            "key": "dur",
            "label": "Duration",
            "unit": "s",
            "default": 1.2,
            "min": 0.5,
            "max": 3,
            "step": 0.1,
            "presets": [
              [
                "Fast",
                0.8
              ],
              [
                "Normal",
                1.2
              ],
              [
                "Slow",
                1.8
              ]
            ]
          }
        ]
      }
    },
    {
      "id": "lf-check",
      "name": "Success check",
      "src": "LottieFiles",
      "tech": "Lottie",
      "plat": [
        "Web",
        "App"
      ],
      "cat": "Feedback",
      "beh": "Once",
      "deps": [
        "@lottiefiles/dotlottie-react"
      ],
      "lic": "Lottie Simple License",
      "url": "https://lottiefiles.com/free-animations/success",
      "sec": "Free animations › Success",
      "approx": true,
      "demo": "<svg class=\"check\" width=\"64\" height=\"64\" viewBox=\"0 0 52 52\"><circle cx=\"26\" cy=\"26\" r=\"24\"/><path d=\"M15 27l7 7 15-15\"/></svg>",
      "stacks": [
        {
          "label": "React",
          "lang": "tsx",
          "code": "import { DotLottieReact } from \"@lottiefiles/dotlottie-react\";\n\n<DotLottieReact src=\"/success.lottie\" autoplay />"
        },
        {
          "label": "React Native",
          "lang": "tsx",
          "deps": [
            "lottie-react-native"
          ],
          "code": "import LottieView from \"lottie-react-native\";\n\n<LottieView source={require(\"./success.json\")} autoPlay loop={false} style={{ width: 64, height: 64 }} />"
        },
        {
          "label": "Flutter",
          "lang": "dart",
          "deps": [
            "lottie"
          ],
          "code": "// flutter pub add lottie\nLottie.asset(\"assets/success.json\", repeat: false)"
        }
      ]
    },
    {
      "id": "rv-like",
      "name": "Like with states",
      "src": "Rive Community",
      "tech": "Rive",
      "plat": [
        "Web",
        "App"
      ],
      "cat": "Micro-interaction",
      "beh": "On interaction",
      "deps": [
        "@rive-app/react-canvas"
      ],
      "lic": "Per file (many CC BY)",
      "url": "https://rive.app/community/files/",
      "sec": "Community › Files › search \"like\"",
      "approx": true,
      "demo": "<svg class=\"heart\" width=\"56\" height=\"56\" viewBox=\"0 0 24 24\"><path d=\"M12 21s-7.5-4.6-9.5-9.3C1.1 8.2 3.4 4.5 7 4.5c2 0 3.4 1.1 5 3 1.6-1.9 3-3 5-3 3.6 0 5.9 3.7 4.5 7.2C19.5 16.4 12 21 12 21z\"/></svg>",
      "stacks": [
        {
          "label": "React",
          "lang": "tsx",
          "code": "import { useRive } from \"@rive-app/react-canvas\";\n\nconst { RiveComponent } = useRive({\n  src: \"/like.riv\",\n  stateMachines: \"State Machine 1\",\n  autoplay: true,\n});\n\n<RiveComponent style={{ width: 56, height: 56 }} />"
        }
      ]
    },
    {
      "id": "rn-spring",
      "name": "withSpring",
      "src": "React Native Reanimated",
      "tech": "React Native",
      "plat": [
        "App"
      ],
      "cat": "Transition",
      "beh": "Once",
      "deps": [
        "react-native-reanimated"
      ],
      "lic": "MIT",
      "url": "https://docs.swmansion.com/react-native-reanimated/docs/animations/withSpring",
      "sec": "Docs › Animations › withSpring",
      "approx": true,
      "demo": "<div class=\"d-box a-springx\"></div>",
      "stacks": [
        {
          "label": "React Native",
          "lang": "tsx",
          "code": "import Animated, { useSharedValue, useAnimatedStyle, withSpring } from \"react-native-reanimated\";\n\nconst x = useSharedValue(0);\nconst style = useAnimatedStyle(() => ({ transform: [{ translateX: x.value }] }));\n\nx.value = withSpring(120, { damping: 10 });\n\n<Animated.View style={[styles.box, style]} />",
          "tpl": "import Animated, { useSharedValue, useAnimatedStyle, withSpring } from \"react-native-reanimated\";\n\nconst x = useSharedValue(0);\nconst style = useAnimatedStyle(() => ({ transform: [{ translateX: x.value }] }));\n\nx.value = withSpring(«dist», { damping: 10 });\n\n<Animated.View style={[styles.box, style]} />"
        }
      ],
      "custom": {
        "params": [
          {
            "type": "number",
            "key": "dist",
            "label": "Distance",
            "unit": "px",
            "default": 120,
            "min": 40,
            "max": 200,
            "step": 10,
            "presets": [
              [
                "Short",
                60
              ],
              [
                "Normal",
                120
              ],
              [
                "Long",
                180
              ]
            ]
          }
        ]
      }
    },
    {
      "id": "mt-skel",
      "name": "Skeleton",
      "src": "Moti",
      "tech": "React Native",
      "plat": [
        "App"
      ],
      "cat": "Loader",
      "beh": "Loop",
      "deps": [
        "moti",
        "react-native-reanimated"
      ],
      "lic": "MIT",
      "url": "https://moti.fyi/skeleton",
      "sec": "Docs › Skeleton",
      "approx": true,
      "demo": "<div class=\"mskel\"><i></i><i style=\"width:80%\"></i><i style=\"width:55%\"></i></div>",
      "stacks": [
        {
          "label": "React Native",
          "lang": "tsx",
          "code": "import { Skeleton } from \"moti/skeleton\";\n\n<Skeleton colorMode=\"light\" width={250} height={60} radius={10} />\n<Skeleton colorMode=\"light\" width={200} />"
        }
      ]
    },
    {
      "id": "fl-animate",
      "name": "fadeIn + slideY",
      "src": "flutter_animate",
      "tech": "Flutter",
      "plat": [
        "App"
      ],
      "cat": "Entrance",
      "beh": "Once",
      "deps": [
        "flutter_animate"
      ],
      "lic": "BSD-3",
      "url": "https://pub.dev/packages/flutter_animate",
      "sec": "pub.dev › flutter_animate › Readme",
      "approx": true,
      "demo": "<div class=\"d-txt a-flutter\">Welcome</div>",
      "stacks": [
        {
          "label": "Flutter",
          "lang": "dart",
          "deps": [
            "flutter_animate"
          ],
          "code": "// flutter pub add flutter_animate\nText(\"Hello\")\n  .animate()\n  .fadeIn(duration: 500.ms)\n  .slideY(begin: 0.2, curve: Curves.easeOut);",
          "tpl": "// flutter pub add flutter_animate\nText(\"Hello\")\n  .animate()\n  .fadeIn(duration: «dur*1000».ms)\n  .slideY(begin: 0.2, curve: Curves.easeOut);"
        },
        {
          "label": "SwiftUI",
          "lang": "swift",
          "code": "@State private var shown = false\n\nText(\"Hello\")\n  .opacity(shown ? 1 : 0)\n  .offset(y: shown ? 0 : 16)\n  .animation(.easeOut(duration: 0.5), value: shown)\n  .onAppear { shown = true }",
          "tpl": "@State private var shown = false\n\nText(\"Hello\")\n  .opacity(shown ? 1 : 0)\n  .offset(y: shown ? 0 : 16)\n  .animation(.easeOut(duration: «dur»), value: shown)\n  .onAppear { shown = true }"
        },
        {
          "label": "Compose",
          "lang": "kotlin",
          "code": "var visible by remember { mutableStateOf(false) }\nLaunchedEffect(Unit) { visible = true }\n\nAnimatedVisibility(\n  visible = visible,\n  enter = fadeIn(tween(500)) + slideInVertically(tween(500)) { it / 4 }\n) {\n  Text(\"Hello\")\n}",
          "tpl": "var visible by remember { mutableStateOf(false) }\nLaunchedEffect(Unit) { visible = true }\n\nAnimatedVisibility(\n  visible = visible,\n  enter = fadeIn(tween(«dur*1000»)) + slideInVertically(tween(«dur*1000»)) { it / 4 }\n) {\n  Text(\"Hello\")\n}"
        }
      ],
      "custom": {
        "params": [
          {
            "type": "number",
            "key": "dur",
            "label": "Duration",
            "unit": "s",
            "default": 0.5,
            "min": 0.2,
            "max": 2,
            "step": 0.1,
            "presets": [
              [
                "Fast",
                0.3
              ],
              [
                "Normal",
                0.5
              ],
              [
                "Slow",
                1
              ]
            ]
          }
        ]
      }
    },
    {
      "id": "sw-bounce",
      "name": "SF Symbol bounce",
      "src": "SwiftUI (Apple)",
      "tech": "SwiftUI",
      "plat": [
        "App"
      ],
      "cat": "Attention",
      "beh": "On interaction",
      "deps": [],
      "lic": "Native iOS",
      "url": "https://developer.apple.com/documentation/symbols/bouncesymboleffect",
      "sec": "Symbols › BounceSymbolEffect",
      "approx": true,
      "demo": "<div class=\"bell\"><svg width=\"44\" height=\"44\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.8\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><path d=\"M6 8a6 6 0 0 1 12 0c0 7 3 9 3 9H3s3-2 3-9\"/><path d=\"M10.3 21a1.94 1.94 0 0 0 3.4 0\"/></svg></div>",
      "stacks": [
        {
          "label": "SwiftUI",
          "lang": "swift",
          "code": "@State private var count = 0\n\nImage(systemName: \"bell\")\n  .symbolEffect(.bounce, value: count)\n  .onTapGesture { count += 1 }"
        }
      ]
    },
    {
      "id": "jc-visibility",
      "name": "AnimatedVisibility",
      "src": "Jetpack Compose",
      "tech": "Compose",
      "plat": [
        "App"
      ],
      "cat": "Transition",
      "beh": "On interaction",
      "deps": [],
      "lic": "Apache 2.0",
      "url": "https://developer.android.com/develop/ui/compose/animation/composables-modifiers",
      "sec": "Animation › AnimatedVisibility",
      "approx": true,
      "demo": "<div class=\"cmp\"><div class=\"h\">See details ▾</div><div class=\"x\"><div><p>Content that expands with expandVertically.</p></div></div></div>",
      "stacks": [
        {
          "label": "Compose",
          "lang": "kotlin",
          "code": "AnimatedVisibility(\n  visible = expanded,\n  enter = expandVertically() + fadeIn(),\n  exit = shrinkVertically() + fadeOut()\n) {\n  Text(\"Details content\")\n}",
          "tpl": "AnimatedVisibility(\n  visible = expanded,\n  enter = expandVertically(tween(«dur»)) + fadeIn(),\n  exit = shrinkVertically(tween(«dur»)) + fadeOut()\n) {\n  Text(\"Details content\")\n}"
        }
      ],
      "custom": {
        "params": [
          {
            "type": "number",
            "key": "dur",
            "label": "Duration",
            "unit": "ms",
            "default": 300,
            "min": 100,
            "max": 1000,
            "step": 50,
            "presets": [
              [
                "Fast",
                200
              ],
              [
                "Normal",
                300
              ],
              [
                "Slow",
                600
              ]
            ]
          }
        ]
      }
    },
    {
      "id": "mx-submit",
      "name": "Send to success",
      "src": "Motiondex Originals",
      "tech": "CSS",
      "plat": [
        "Web"
      ],
      "cat": "Originals",
      "beta": true,
      "beh": "On interaction",
      "deps": [],
      "lic": "MIT",
      "url": null,
      "sec": "Motiondex › Originals",
      "demo": "<div class=\"o-submit\"><span class=\"l\">Send</span><span class=\"s\"></span><svg viewBox=\"0 0 24 24\"><path d=\"M5 13l4 4L19 7\"/></svg></div>",
      "stacks": [
        {
          "label": "CSS",
          "lang": "html + css + js",
          "code": "<button class=\"send\" type=\"submit\">\n  <span class=\"label\">Send</span>\n  <span class=\"spinner\" aria-hidden=\"true\"></span>\n  <svg class=\"check\" viewBox=\"0 0 24 24\" aria-hidden=\"true\"><path d=\"M5 13l4 4L19 7\"/></svg>\n</button>\n\n.send {\n  display: grid; place-items: center;\n  width: 140px; height: 44px; border: 0; border-radius: 999px;\n  background: #7d49f8; color: #fff; font-weight: 600;\n  transition: width .35s cubic-bezier(.4,0,.2,1), background-color .25s;\n}\n.send > * { grid-area: 1 / 1; transition: opacity .2s, transform .35s cubic-bezier(.3,1.6,.5,1); }\n.send .spinner {\n  width: 20px; height: 20px; border-radius: 50%; opacity: 0;\n  border: 2px solid rgb(255 255 255 / .4); border-top-color: #fff;\n  animation: spin .8s linear infinite;\n}\n.send .check { width: 20px; fill: none; stroke: #fff; stroke-width: 3; opacity: 0; transform: scale(.3); }\n.send.is-loading, .send.is-done { width: 44px; }\n.send.is-loading .label, .send.is-done .label { opacity: 0; }\n.send.is-loading .spinner { opacity: 1; }\n.send.is-done { background: #1f9d55; }\n.send.is-done .check { opacity: 1; transform: none; }\n@keyframes spin { to { transform: rotate(360deg); } }\n@media (prefers-reduced-motion: reduce) { .send, .send > * { transition: none; } }\n\n// JS\nbtn.classList.add(\"is-loading\");\nawait sendForm();\nbtn.classList.replace(\"is-loading\", \"is-done\");",
          "tpl": "<button class=\"send\" type=\"submit\">\n  <span class=\"label\">Send</span>\n  <span class=\"spinner\" aria-hidden=\"true\"></span>\n  <svg class=\"check\" viewBox=\"0 0 24 24\" aria-hidden=\"true\"><path d=\"M5 13l4 4L19 7\"/></svg>\n</button>\n\n.send {\n  display: grid; place-items: center;\n  width: 140px; height: 44px; border: 0; border-radius: 999px;\n  background: «color»; color: #fff; font-weight: 600;\n  transition: width .35s cubic-bezier(.4,0,.2,1), background-color .25s;\n}\n.send > * { grid-area: 1 / 1; transition: opacity .2s, transform .35s cubic-bezier(.3,1.6,.5,1); }\n.send .spinner {\n  width: 20px; height: 20px; border-radius: 50%; opacity: 0;\n  border: 2px solid rgb(255 255 255 / .4); border-top-color: #fff;\n  animation: spin .8s linear infinite;\n}\n.send .check { width: 20px; fill: none; stroke: #fff; stroke-width: 3; opacity: 0; transform: scale(.3); }\n.send.is-loading, .send.is-done { width: 44px; }\n.send.is-loading .label, .send.is-done .label { opacity: 0; }\n.send.is-loading .spinner { opacity: 1; }\n.send.is-done { background: #1f9d55; }\n.send.is-done .check { opacity: 1; transform: none; }\n@keyframes spin { to { transform: rotate(360deg); } }\n@media (prefers-reduced-motion: reduce) { .send, .send > * { transition: none; } }\n\n// JS\nbtn.classList.add(\"is-loading\");\nawait sendForm();\nbtn.classList.replace(\"is-loading\", \"is-done\");"
        }
      ],
      "custom": {
        "params": [
          {
            "type": "color",
            "key": "color",
            "label": "Button color",
            "default": "#7d49f8"
          }
        ]
      }
    },
    {
      "id": "mx-tabs",
      "name": "Springy tab indicator",
      "src": "Motiondex Originals",
      "tech": "CSS",
      "plat": [
        "Web"
      ],
      "cat": "Originals",
      "beta": true,
      "beh": "On interaction",
      "deps": [],
      "lic": "MIT",
      "url": null,
      "sec": "Motiondex › Originals",
      "demo": "<div class=\"o-tabs\"><i></i><span>Day</span><span>Week</span><span>Month</span></div>",
      "stacks": [
        {
          "label": "CSS",
          "lang": "html + css + js",
          "code": "<div class=\"tabs\" role=\"tablist\" style=\"--i: 0\">\n  <button role=\"tab\" aria-selected=\"true\">Day</button>\n  <button role=\"tab\" aria-selected=\"false\">Week</button>\n  <button role=\"tab\" aria-selected=\"false\">Month</button>\n  <span class=\"indicator\" aria-hidden=\"true\"></span>\n</div>\n\n.tabs {\n  position: relative; display: grid; grid-template-columns: repeat(3, 1fr);\n  padding: 4px; border-radius: 999px; background: #f1eff8;\n}\n.tabs button { position: relative; z-index: 1; border: 0; background: none; padding: 8px 16px; font-weight: 600; }\n.tabs .indicator {\n  position: absolute; top: 4px; bottom: 4px; left: 4px;\n  width: calc((100% - 8px) / 3); border-radius: 999px; background: #fff;\n  box-shadow: 0 1px 3px rgb(0 0 0 / .15);\n  transform: translateX(calc(var(--i) * 100%));\n  transition: transform .45s cubic-bezier(.3,1.35,.5,1);\n}\n@media (prefers-reduced-motion: reduce) { .tabs .indicator { transition: none; } }\n\n// JS: move the indicator\ntabs.style.setProperty(\"--i\", index);",
          "tpl": "<div class=\"tabs\" role=\"tablist\" style=\"--i: 0\">\n  <button role=\"tab\" aria-selected=\"true\">Day</button>\n  <button role=\"tab\" aria-selected=\"false\">Week</button>\n  <button role=\"tab\" aria-selected=\"false\">Month</button>\n  <span class=\"indicator\" aria-hidden=\"true\"></span>\n</div>\n\n.tabs {\n  position: relative; display: grid; grid-template-columns: repeat(3, 1fr);\n  padding: 4px; border-radius: 999px; background: #f1eff8;\n}\n.tabs button { position: relative; z-index: 1; border: 0; background: none; padding: 8px 16px; font-weight: 600; }\n.tabs .indicator {\n  position: absolute; top: 4px; bottom: 4px; left: 4px;\n  width: calc((100% - 8px) / 3); border-radius: 999px; background: #fff;\n  box-shadow: 0 1px 3px rgb(0 0 0 / .15);\n  transform: translateX(calc(var(--i) * 100%));\n  transition: transform «dur»s «ease»;\n}\n@media (prefers-reduced-motion: reduce) { .tabs .indicator { transition: none; } }\n\n// JS: move the indicator\ntabs.style.setProperty(\"--i\", index);"
        }
      ],
      "custom": {
        "params": [
          {
            "type": "number",
            "key": "dur",
            "label": "Duration",
            "unit": "s",
            "default": 0.45,
            "min": 0.2,
            "max": 1.2,
            "step": 0.05,
            "presets": [
              [
                "Fast",
                0.3
              ],
              [
                "Normal",
                0.45
              ],
              [
                "Slow",
                0.7
              ]
            ]
          },
          {
            "type": "choice",
            "key": "ease",
            "label": "Easing",
            "default": "cubic-bezier(.3,1.35,.5,1)",
            "options": [
              [
                "Springy",
                "cubic-bezier(.3,1.35,.5,1)"
              ],
              [
                "Ease out",
                "cubic-bezier(0,0,.2,1)"
              ],
              [
                "Ease in-out",
                "cubic-bezier(.4,0,.2,1)"
              ],
              [
                "Linear",
                "linear"
              ]
            ]
          }
        ]
      }
    },
    {
      "id": "mx-switch",
      "name": "Squishy switch",
      "src": "Motiondex Originals",
      "tech": "CSS",
      "plat": [
        "Web"
      ],
      "cat": "Originals",
      "beta": true,
      "beh": "On interaction",
      "deps": [],
      "lic": "MIT",
      "url": null,
      "sec": "Motiondex › Originals",
      "demo": "<div class=\"o-switch\"><i></i></div>",
      "stacks": [
        {
          "label": "CSS",
          "lang": "html + css",
          "code": "<label class=\"squish\">\n  <input type=\"checkbox\" role=\"switch\" aria-label=\"Notifications\">\n  <span class=\"thumb\"></span>\n</label>\n\n.squish {\n  position: relative; display: inline-block; width: 52px; height: 30px;\n  border-radius: 999px; background: #c9c6d6; transition: background-color .3s; cursor: pointer;\n}\n.squish input { position: absolute; inset: 0; margin: 0; opacity: 0; cursor: pointer; }\n.squish .thumb {\n  position: absolute; top: 4px; left: 4px; width: 22px; height: 22px;\n  border-radius: 999px; background: #fff; box-shadow: 0 1px 2px rgb(0 0 0 / .25);\n  transition: left .35s cubic-bezier(.3,1.4,.5,1), width .2s;\n}\n.squish:has(input:checked) { background: #7d49f8; }\n.squish input:checked + .thumb { left: 26px; }\n/* the thumb stretches while you press */\n.squish input:active + .thumb { width: 28px; }\n.squish input:checked:active + .thumb { left: 20px; }\n.squish:has(input:focus-visible) { outline: 2px solid #7d49f8; outline-offset: 2px; }",
          "tpl": "<label class=\"squish\">\n  <input type=\"checkbox\" role=\"switch\" aria-label=\"Notifications\">\n  <span class=\"thumb\"></span>\n</label>\n\n.squish {\n  position: relative; display: inline-block; width: 52px; height: 30px;\n  border-radius: 999px; background: #c9c6d6; transition: background-color .3s; cursor: pointer;\n}\n.squish input { position: absolute; inset: 0; margin: 0; opacity: 0; cursor: pointer; }\n.squish .thumb {\n  position: absolute; top: 4px; left: 4px; width: 22px; height: 22px;\n  border-radius: 999px; background: #fff; box-shadow: 0 1px 2px rgb(0 0 0 / .25);\n  transition: left .35s cubic-bezier(.3,1.4,.5,1), width .2s;\n}\n.squish:has(input:checked) { background: «color»; }\n.squish input:checked + .thumb { left: 26px; }\n/* the thumb stretches while you press */\n.squish input:active + .thumb { width: 28px; }\n.squish input:checked:active + .thumb { left: 20px; }\n.squish:has(input:focus-visible) { outline: 2px solid «color»; outline-offset: 2px; }"
        }
      ],
      "custom": {
        "params": [
          {
            "type": "color",
            "key": "color",
            "label": "On color",
            "default": "#7d49f8"
          }
        ]
      }
    },
    {
      "id": "mx-copy",
      "name": "Copy to check",
      "src": "Motiondex Originals",
      "tech": "CSS",
      "plat": [
        "Web"
      ],
      "cat": "Originals",
      "beta": true,
      "beh": "On interaction",
      "deps": [],
      "lic": "MIT",
      "url": null,
      "sec": "Motiondex › Originals",
      "demo": "<div class=\"o-copy\"><svg class=\"c1\" viewBox=\"0 0 24 24\"><rect x=\"9\" y=\"9\" width=\"11\" height=\"11\" rx=\"2\"/><path d=\"M5 15V5a2 2 0 0 1 2-2h8\"/></svg><svg class=\"c2\" viewBox=\"0 0 24 24\"><path d=\"M5 13l4 4L19 7\"/></svg></div>",
      "stacks": [
        {
          "label": "CSS",
          "lang": "html + css + js",
          "code": "<button class=\"copy\" aria-label=\"Copy\">\n  <svg class=\"i-copy\" viewBox=\"0 0 24 24\">…copy icon…</svg>\n  <svg class=\"i-check\" viewBox=\"0 0 24 24\"><path d=\"M5 13l4 4L19 7\"/></svg>\n</button>\n\n.copy { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; }\n.copy svg {\n  grid-area: 1 / 1; width: 20px; fill: none; stroke: currentColor; stroke-width: 2;\n  transition: opacity .2s, transform .35s cubic-bezier(.3,1.6,.5,1);\n}\n.copy .i-check { color: #1f9d55; opacity: 0; transform: scale(.3) rotate(-45deg); }\n.copy.is-copied .i-copy { opacity: 0; transform: scale(.3) rotate(45deg); }\n.copy.is-copied .i-check { opacity: 1; transform: none; }\n\n// JS\nbtn.addEventListener(\"click\", async () => {\n  await navigator.clipboard.writeText(text);\n  btn.classList.add(\"is-copied\");\n  btn.setAttribute(\"aria-label\", \"Copied\");\n  setTimeout(() => btn.classList.remove(\"is-copied\"), 1500);\n});",
          "tpl": "<button class=\"copy\" aria-label=\"Copy\">\n  <svg class=\"i-copy\" viewBox=\"0 0 24 24\">…copy icon…</svg>\n  <svg class=\"i-check\" viewBox=\"0 0 24 24\"><path d=\"M5 13l4 4L19 7\"/></svg>\n</button>\n\n.copy { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; }\n.copy svg {\n  grid-area: 1 / 1; width: 20px; fill: none; stroke: currentColor; stroke-width: 2;\n  transition: opacity .2s, transform .35s cubic-bezier(.3,1.6,.5,1);\n}\n.copy .i-check { color: «color»; opacity: 0; transform: scale(.3) rotate(-45deg); }\n.copy.is-copied .i-copy { opacity: 0; transform: scale(.3) rotate(45deg); }\n.copy.is-copied .i-check { opacity: 1; transform: none; }\n\n// JS\nbtn.addEventListener(\"click\", async () => {\n  await navigator.clipboard.writeText(text);\n  btn.classList.add(\"is-copied\");\n  btn.setAttribute(\"aria-label\", \"Copied\");\n  setTimeout(() => btn.classList.remove(\"is-copied\"), 1500);\n});"
        }
      ],
      "custom": {
        "params": [
          {
            "type": "color",
            "key": "color",
            "label": "Check color",
            "default": "#1f9d55"
          }
        ]
      }
    },
    {
      "id": "mx-typing",
      "name": "Typing to message",
      "src": "Motiondex Originals",
      "tech": "CSS",
      "plat": [
        "Web"
      ],
      "cat": "Originals",
      "beta": true,
      "beh": "Once",
      "deps": [],
      "lic": "MIT",
      "url": null,
      "sec": "Motiondex › Originals",
      "demo": "<div class=\"o-bubble\"><span class=\"d\"><i></i><i></i><i></i></span><p>See you at 6!</p></div>",
      "stacks": [
        {
          "label": "CSS",
          "lang": "html + css + js",
          "code": "<div class=\"bubble is-typing\" aria-live=\"polite\">\n  <span class=\"dots\" aria-hidden=\"true\"><i></i><i></i><i></i></span>\n  <p>See you at 6!</p>\n</div>\n\n.bubble {\n  display: grid; width: fit-content; padding: 10px 14px;\n  border-radius: 18px 18px 18px 4px; background: #f1eff8;\n}\n.bubble > * { grid-area: 1 / 1; align-self: center; }\n.bubble .dots { display: flex; gap: 4px; transition: opacity .2s; }\n.bubble .dots i { width: 6px; height: 6px; border-radius: 50%; background: #8b8796; animation: typing 1.2s infinite; }\n.bubble .dots i:nth-child(2) { animation-delay: .15s; }\n.bubble .dots i:nth-child(3) { animation-delay: .3s; }\n.bubble p {\n  margin: 0; white-space: nowrap; overflow: hidden;\n  max-width: 260px; transition: max-width .45s cubic-bezier(.3,1.1,.5,1), opacity .25s .15s;\n}\n.bubble.is-typing p { max-width: 0; opacity: 0; }\n.bubble:not(.is-typing) .dots { opacity: 0; }\n@keyframes typing { 30% { transform: translateY(-4px); opacity: 1; } 0%, 60%, 100% { opacity: .4; } }\n\n// JS: when the message arrives\nbubble.classList.remove(\"is-typing\");",
          "tpl": "<div class=\"bubble is-typing\" aria-live=\"polite\">\n  <span class=\"dots\" aria-hidden=\"true\"><i></i><i></i><i></i></span>\n  <p>See you at 6!</p>\n</div>\n\n.bubble {\n  display: grid; width: fit-content; padding: 10px 14px;\n  border-radius: 18px 18px 18px 4px; background: #f1eff8;\n}\n.bubble > * { grid-area: 1 / 1; align-self: center; }\n.bubble .dots { display: flex; gap: 4px; transition: opacity .2s; }\n.bubble .dots i { width: 6px; height: 6px; border-radius: 50%; background: #8b8796; animation: typing «dur»s infinite; }\n.bubble .dots i:nth-child(2) { animation-delay: .15s; }\n.bubble .dots i:nth-child(3) { animation-delay: .3s; }\n.bubble p {\n  margin: 0; white-space: nowrap; overflow: hidden;\n  max-width: 260px; transition: max-width .45s cubic-bezier(.3,1.1,.5,1), opacity .25s .15s;\n}\n.bubble.is-typing p { max-width: 0; opacity: 0; }\n.bubble:not(.is-typing) .dots { opacity: 0; }\n@keyframes typing { 30% { transform: translateY(-4px); opacity: 1; } 0%, 60%, 100% { opacity: .4; } }\n\n// JS: when the message arrives\nbubble.classList.remove(\"is-typing\");"
        }
      ],
      "custom": {
        "params": [
          {
            "type": "number",
            "key": "dur",
            "label": "Dot speed",
            "unit": "s",
            "default": 1.2,
            "min": 0.6,
            "max": 2.4,
            "step": 0.1,
            "presets": [
              [
                "Fast",
                0.8
              ],
              [
                "Normal",
                1.2
              ],
              [
                "Slow",
                1.8
              ]
            ]
          }
        ]
      }
    }
  ],
  "sources": [
    [
      "Tailwind CSS",
      "https://tailwindcss.com/docs/animation",
      "Web",
      "4 base utilities: spin, ping, pulse, bounce",
      "Utility classes",
      "MIT"
    ],
    [
      "tw-animate-css",
      "https://github.com/Wombosvideo/tw-animate-css",
      "Web",
      "Enter/exit, fade, zoom, slide for Tailwind v4",
      "CSS import",
      "MIT"
    ],
    [
      "Animate.css",
      "https://animate.style/",
      "Web",
      "~80 animations: entrances, exits, attention",
      "CSS classes / CDN",
      "Hippocratic 2.1"
    ],
    [
      "Animista",
      "https://animista.net/",
      "Web",
      "Configurable keyframe generator",
      "Copy CSS",
      "Free"
    ],
    [
      "Hover.css",
      "https://ianlunn.github.io/Hover/",
      "Web",
      "Hover effects for buttons and links",
      "CSS classes",
      "MIT"
    ],
    [
      "CSS Loaders",
      "https://css-loaders.com/",
      "Web",
      "600+ single-element loaders",
      "Copy CSS",
      "Free"
    ],
    [
      "LDRS (Uiball)",
      "https://uiball.com/ldrs/",
      "Web",
      "Loaders as web components",
      "npm / CDN",
      "MIT"
    ],
    [
      "Uiverse",
      "https://uiverse.io/",
      "Web",
      "Community elements: loaders, buttons, toggles",
      "Copy HTML+CSS / Tailwind",
      "MIT"
    ],
    [
      "Magic UI",
      "https://magicui.design/",
      "Web",
      "150+ animated components",
      "shadcn CLI",
      "MIT"
    ],
    [
      "Aceternity UI",
      "https://ui.aceternity.com/",
      "Web",
      "Hero, text and background effects",
      "Copy component",
      "Free + Pro tier"
    ],
    [
      "React Bits",
      "https://reactbits.dev/",
      "Web",
      "110+ text, background and component animations",
      "CLI / copy",
      "MIT + Commons Clause"
    ],
    [
      "Motion Primitives",
      "https://motion-primitives.com/",
      "Web",
      "Motion building blocks for React + Tailwind v4",
      "Copy component",
      "MIT"
    ],
    [
      "Animata",
      "https://animata.design/",
      "Web",
      "Ready-made micro-interactions",
      "Copy component",
      "MIT"
    ],
    [
      "Motion (Framer Motion)",
      "https://motion.dev/",
      "Web",
      "Springs, gestures, layout",
      "npm",
      "MIT"
    ],
    [
      "GSAP",
      "https://gsap.com/",
      "Web",
      "Timelines, ScrollTrigger, SplitText",
      "npm / CDN",
      "GSAP no-charge license"
    ],
    [
      "Anime.js",
      "https://animejs.com/",
      "Web",
      "Lightweight JS engine with stagger",
      "npm",
      "MIT"
    ],
    [
      "AutoAnimate",
      "https://auto-animate.formkit.com/",
      "Web",
      "Automatic animation on add/remove/reorder",
      "npm",
      "MIT"
    ],
    [
      "Sonner",
      "https://sonner.emilkowal.ski/",
      "Web",
      "Animated toasts",
      "npm",
      "MIT"
    ],
    [
      "Vercel Geist",
      "https://vercel.com/geist/introduction",
      "Web",
      "Spinner, loading dots, skeleton as reference",
      "Visual reference",
      "Public docs"
    ],
    [
      "Easings.net",
      "https://easings.net/",
      "Web",
      "Easing curves with cubic-bezier values",
      "Copy values",
      "GPL-3.0"
    ],
    [
      "LottieFiles",
      "https://lottiefiles.com/free-animations",
      "Web + App",
      "Free animations (After Effects → .lottie)",
      "dotlottie / lottie-*",
      "Lottie Simple License"
    ],
    [
      "Rive Community",
      "https://rive.app/community/",
      "Web + App",
      "Interactive animations with state machines",
      ".riv + runtime",
      "Per file"
    ],
    [
      "React Native Reanimated",
      "https://docs.swmansion.com/react-native-reanimated/",
      "App",
      "Native animations, layout animations",
      "npm",
      "MIT"
    ],
    [
      "Moti",
      "https://moti.fyi/",
      "App",
      "Declarative API on Reanimated + skeleton",
      "npm",
      "MIT"
    ],
    [
      "flutter_animate",
      "https://pub.dev/packages/flutter_animate",
      "App",
      "Chainable effects for Flutter",
      "pub.dev",
      "BSD-3"
    ],
    [
      "SwiftUI Animations",
      "https://developer.apple.com/documentation/swiftui/animations",
      "App",
      "Springs, transitions, symbolEffect",
      "Native",
      "Native iOS"
    ],
    [
      "Jetpack Compose Animation",
      "https://developer.android.com/develop/ui/compose/animation/introduction",
      "App",
      "AnimatedVisibility, transitions",
      "Native",
      "Apache 2.0"
    ]
  ]
}
