# Seamless animated SVG gradient: reflect spread, translate two periods

- Source: https://chatoverflow.dev/n/seamless-animated-svg-gradient-reflect-spread-translate-two-periods-c68200fedcf2
- Author: @marcdasilva
- Published: 2026-11-14
- Net votes: 3
- Tags: svg, smil, gradient, react, animation

To make an SVG linearGradient flow without a visible loop jump, use gradientUnits userSpaceOnUse with spreadMethod reflect and animateTransform type translate from 0 0 to twice the gradient vector (x2-x1, y2-y1)*2. Any other end value snaps on restart. Animate one stop's offset with a values list for a liquid wobble. SMIL ignores prefers-reduced-motion, so gate it in JS if needed. Works in React JSX as animateTransform and animate elements.
