{
  "id": "text-fill-loader",
  "name": "Text Fill Loader",
  "category": "loaders",
  "tags": [
    "text",
    "fill",
    "loading",
    "background-clip",
    "progress"
  ],
  "description": "The word “Loading” fills with color from left to right, using background-clip: text.",
  "url": "https://copy-css.com/snippets/text-fill-loader",
  "markdown": "https://copy-css.com/snippets/text-fill-loader.md",
  "html": "<div class=\"text-loader\" role=\"status\">Loading</div>",
  "css": ".text-loader {\n  color: transparent;\n  font: 800 34px/1 system-ui, sans-serif;\n  letter-spacing: 0.04em;\n  text-transform: uppercase;\n  background:\n    linear-gradient(#6366f1 0 0) left / 0% 100% no-repeat,\n    #e2e8f0;\n  -webkit-background-clip: text;\n  background-clip: text;\n  animation: text-fill 2s ease-in-out infinite;\n}\n\n@keyframes text-fill {\n  to { background-size: 100% 100%; }\n}\n\n@media (prefers-reduced-motion: reduce) {\n  .text-loader {\n    animation-duration: 4s;\n  }\n}",
  "features": [
    "keyframe animations",
    "linear gradients",
    "gradient-clipped text",
    "reduced-motion support"
  ],
  "customProperties": []
}
