{
  "id": "material-spinner",
  "name": "Material Spinner",
  "category": "loaders",
  "tags": [
    "svg",
    "stroke-dasharray",
    "android",
    "circular",
    "indeterminate"
  ],
  "description": "The Material Design circular spinner: an SVG arc that grows and shrinks while it rotates.",
  "url": "https://copy-css.com/snippets/material-spinner",
  "markdown": "https://copy-css.com/snippets/material-spinner.md",
  "html": "<svg class=\"spinner-material\" viewBox=\"0 0 50 50\" role=\"status\" aria-label=\"Loading\">\n  <circle cx=\"25\" cy=\"25\" r=\"20\"/>\n</svg>",
  "css": ".spinner-material {\n  width: 48px;\n  height: 48px;\n  animation: spinner-material-rotate 2s linear infinite;\n}\n\n.spinner-material circle {\n  fill: none;\n  stroke: #2563eb;\n  stroke-width: 4;\n  stroke-linecap: round;\n  stroke-dasharray: 1 150;\n  animation: spinner-material-dash 1.5s ease-in-out infinite;\n}\n\n@keyframes spinner-material-rotate {\n  to { transform: rotate(1turn); }\n}\n\n@keyframes spinner-material-dash {\n  0% { stroke-dasharray: 1 150; stroke-dashoffset: 0; }\n  50% { stroke-dasharray: 90 150; stroke-dashoffset: -35; }\n  100% { stroke-dasharray: 90 150; stroke-dashoffset: -124; }\n}\n\n@media (prefers-reduced-motion: reduce) {\n  .spinner-material { animation-duration: 4s; }\n  .spinner-material circle { animation: none; stroke-dasharray: 90 150; }\n}",
  "features": [
    "keyframe animations",
    "transforms",
    "reduced-motion support"
  ],
  "customProperties": []
}
