{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "progress",
  "type": "registry:ui",
  "dependencies": [
    "@kobalte/core"
  ],
  "files": [
    {
      "path": "ui/progress.tsx",
      "content": "import type { ValidComponent } from \"solid-js\"\nimport { splitProps } from \"solid-js\"\n\nimport type { PolymorphicProps } from \"@kobalte/core/polymorphic\"\nimport * as ProgressPrimitive from \"@kobalte/core/progress\"\n\nimport { cn } from \"@/lib/utils\"\n\ntype ProgressProps<T extends ValidComponent = \"div\"> = ProgressPrimitive.ProgressRootProps<T> & {\n  class?: string | undefined\n}\n\nconst Progress = <T extends ValidComponent = \"div\">(\n  props: PolymorphicProps<T, ProgressProps<T>>\n) => {\n  const [local, others] = splitProps(props as ProgressProps, [\"class\", \"value\"])\n\n  return (\n    <ProgressPrimitive.Root\n      class={cn(\"relative h-2 w-full overflow-hidden rounded-full bg-primary/20\", local.class)}\n      data-slot=\"progress\"\n      value={local.value}\n      {...others}\n    >\n      <ProgressPrimitive.Track class=\"h-full w-full\">\n        <ProgressPrimitive.Fill\n          class=\"h-full bg-primary transition-transform duration-500 ease-in-out\"\n          data-slot=\"progress-indicator\"\n          style={{\n            transform: `translateX(-${100 - (local.value ?? 0)}%)`\n          }}\n        />\n      </ProgressPrimitive.Track>\n    </ProgressPrimitive.Root>\n  )\n}\n\nexport { Progress }\n",
      "type": "registry:ui"
    }
  ]
}