{
  "id": "progress-bar",
  "name": "Indeterminate Progress Bar",
  "category": "loaders",
  "tags": [
    "progress",
    "bar",
    "loading",
    "linear"
  ],
  "description": "A slim gradient progress bar that slides endlessly while content loads.",
  "url": "https://copy-css.com/snippets/progress-bar",
  "markdown": "https://copy-css.com/snippets/progress-bar.md",
  "html": "<div class=\"progress-bar\" role=\"progressbar\" aria-label=\"Loading\"></div>",
  "css": ".progress-bar {\n  position: relative;\n  overflow: hidden;\n  width: 220px;\n  height: 6px;\n  border-radius: 999px;\n  background: #e5e7eb;\n}\n\n.progress-bar::before {\n  content: \"\";\n  position: absolute;\n  inset: 0;\n  width: 40%;\n  border-radius: inherit;\n  background: linear-gradient(90deg, #6366f1, #ec4899);\n  animation: progress-slide 1.2s ease-in-out infinite;\n}\n\n@keyframes progress-slide {\n  from { transform: translateX(-100%); }\n  to { transform: translateX(250%); }\n}\n\n@media (prefers-reduced-motion: reduce) {\n  .progress-bar::before {\n    animation-duration: 2.4s;\n  }\n}",
  "features": [
    "keyframe animations",
    "transforms",
    "linear gradients",
    "reduced-motion support"
  ],
  "customProperties": []
}
