SMIL SVG animationsBaseline · Widely available
The <animate>, <animateMotion>, and <animateTransform> SVG elements declaratively animate SVG elements. Also known as SMIL.
Supported in all major browsers for at least 30 months — safe to use without fallbacks. Baseline since Jan 15, 2020. Widely available since Jul 15, 2022.
Browser support
DesktopChrome
1–18Not supported
19+Supportedsince May 15, 2012
Current: 155Edge
12–18Not supported
79+Supportedsince Jan 15, 2020
Current: 154Firefox
1–3.6Not supported
4+Supportedsince Mar 22, 2011
Current: 157Safari
1–5.1Not supported
6+Supportedsince Jul 25, 2012
Current: 27MobileChrome Android
18–18Not supported
25+Supportedsince Feb 27, 2013
Current: 155Firefox Android
4+Supportedsince Mar 29, 2011
Current: 157Safari iOS
1–5Not supported
6+Supportedsince Sep 10, 2012
Current: 27How to use
This feature is Baseline widely available — use it freely, no fallback needed.
Example
Full syntax and examples are on MDN: SVGAnimateElement.
Feature detection
JS · check before using
if ("SVGAnimationElement" in globalThis) {
// SVGAnimationElement is available
} else {
// load a polyfill or use a fallback
}Sub-features
Support for each part of the feature (90). The overall table above shows when the whole feature works.
| Sub-feature | Chrome | Edge | Firefox | Safari | Chrome Android | Firefox Android | Safari iOS |
|---|---|---|---|---|---|---|---|
| SVGAnimateElement | 2 | 79 | 4 | 3 | 18 | 4 | 1 |
| SVGAnimateMotionElement | 19 | 79 | 4 | 6 | 25 | 4 | 6 |
| SVGAnimateTransformElement | 2 | 79 | 4 | 3 | 18 | 4 | 1 |
| SVGAnimatedAngle | 1 | 12 | 1.5 | 3 | 18 | 4 | 1 |
| SVGAnimatedAngle.animVal | 1 | 12 | 1.5 | 3 | 18 | 4 | 1 |
| SVGAnimatedAngle.baseVal | 1 | 12 | 1.5 | 3 | 18 | 4 | 1 |
| SVGAnimatedBoolean | 6 | 12 | 3 | 5 | 18 | 4 | 4 |
| SVGAnimatedBoolean.animVal | 6 | 12 | 3 | 6 | 18 | 4 | 6 |
| SVGAnimatedBoolean.baseVal | 6 | 12 | 3 | 6 | 18 | 4 | 6 |
| SVGAnimatedEnumeration | 1 | 12 | 1.5 | 3 | 18 | 4 | 1 |
| SVGAnimatedEnumeration.animVal | 1 | 12 | 1.5 | 3 | 18 | 4 | 1 |
| SVGAnimatedEnumeration.baseVal | 1 | 12 | 1.5 | 3 | 18 | 4 | 1 |
| SVGAnimatedInteger | 6 | 12 | 3 | 5 | 18 | 4 | 4 |
| SVGAnimatedInteger.animVal | 6 | 12 | 3 | 6 | 18 | 4 | 6 |
| SVGAnimatedInteger.baseVal | 6 | 12 | 3 | 6 | 18 | 4 | 6 |
| SVGAnimatedLength | 1 | 12 | 1.5 | 3 | 18 | 4 | 1 |
| SVGAnimatedLength.animVal | 1 | 12 | 1.5 | 3 | 18 | 4 | 1 |
| SVGAnimatedLength.baseVal | 1 | 12 | 1.5 | 3 | 18 | 4 | 1 |
| SVGAnimatedLengthList | 1 | 12 | 1.5 | 3 | 18 | 4 | 1 |
| SVGAnimatedLengthList.animVal | 1 | 12 | 1.5 | 3 | 18 | 4 | 1 |