Animation model
The spinner uses animateTransform on a stroked path, so it works as a self-contained SVG animation.
Use cases
Use it for loading states, prototypes, demos, and documentation examples.
Generate an animated SVG loading spinner using animateTransform.
Page context
SVG Spinner Generator creates a compact animated loading spinner using SVG animateTransform.
The spinner uses animateTransform on a stroked path, so it works as a self-contained SVG animation.
Use it for loading states, prototypes, demos, and documentation examples.
Generate an animated SVG loading spinner using animateTransform.
<svg xmlns="http://www.w3.org/2000/svg" width="120" height="120" viewBox="0 0 120 120" role="img" aria-label="Loading spinner"><circle cx="60" cy="60" r="42" fill="none" stroke="#ccfbf1" stroke-width="12"/><path d="M60 18a42 42 0 0 1 42 42" fill="none" stroke="#0f766e" stroke-width="12" stroke-linecap="round"><animateTransform attributeName="transform" type="rotate" from="0 60 60" to="360 60 60" dur="0.9s" repeatCount="indefinite"/></path></svg>