{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "progress-custom-colors",
  "title": "Progress bar with custom colors",
  "description": "Progress bar with custom colors, built from the progress component.",
  "registryDependencies": [
    "progress"
  ],
  "files": [
    {
      "path": "registry/patterns/progress-custom-colors/progress-custom-colors.tsx",
      "content": "/**\n * Progress bar with custom colors - adapted for tealmac UI from the ReUI example \"c-progress-8\"\n * (https://github.com/keenthemes/reui), MIT License, Copyright (c) 2025\n * Keenthemes Inc. The full licence text is in THIRD_PARTY_NOTICES.md.\n * Changes: tealmac UI import paths and theme tokens, lucide icons, logical\n * (RTL-safe) spacing and alignment, reduced-motion support and sample\n * content.\n */\n\"use client\"\n\nimport { useEffect, useState } from \"react\"\n\nimport { Progress } from \"@/components/ui/progress\"\n\nexport function ProgressCustomColors() {\n  const [progress, setProgress] = useState(45)\n\n  useEffect(() => {\n    const timer = setTimeout(() => setProgress(75), 500)\n    return () => clearTimeout(timer)\n  }, [])\n\n  return (\n    <div className=\"mx-auto flex w-full max-w-xs flex-col gap-6\">\n      <Progress\n        value={progress}\n        className=\"**:data-[slot=progress-indicator]:bg-green-500\"\n      ></Progress>\n      <Progress\n        value={progress}\n        className=\"**:data-[slot=progress-indicator]:bg-yellow-500\"\n      ></Progress>\n      <Progress\n        value={progress}\n        className=\"**:data-[slot=progress-indicator]:bg-fuchsia-500\"\n      ></Progress>\n      <Progress\n        value={progress}\n        className=\"**:data-[slot=progress-indicator]:bg-indigo-500\"\n      ></Progress>\n      <Progress\n        value={progress}\n        className=\"**:data-[slot=progress-indicator]:bg-violet-500\"\n      ></Progress>\n    </div>\n  )\n}\n",
      "type": "registry:block"
    }
  ],
  "type": "registry:block"
}