{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "skeleton",
  "title": "Skeleton",
  "description": "Loading placeholders with a slow light sweep.",
  "dependencies": [],
  "registryDependencies": [
    "utils",
    "https://ui.cuelark.com/r/theme.json"
  ],
  "files": [
    {
      "path": "src/registry/cuelark/ui/skeleton.tsx",
      "content": "import * as React from \"react\";\n\nimport { cn } from \"@/lib/utils\";\n\n/** A placeholder block with a slow light sweep (CSS only, so it runs before hydration). Hidden from assistive tech. */\nfunction Skeleton({ className, ...props }: React.ComponentProps<\"div\">) {\n  return (\n    <div\n      data-slot=\"skeleton\"\n      aria-hidden=\"true\"\n      className={cn(\n        \"relative overflow-hidden rounded-md bg-muted before:absolute before:inset-0 before:animate-[cue-shimmer_1.8s_ease-in-out_infinite] before:bg-linear-to-r before:from-transparent before:via-foreground/[0.06] before:to-transparent motion-reduce:before:hidden\",\n        className,\n      )}\n      {...props}\n    />\n  );\n}\n\n/** Lines of text; the last line is shorter, like a real paragraph. */\nfunction SkeletonText({ lines = 3, className, ...props }: React.ComponentProps<\"div\"> & { lines?: number }) {\n  return (\n    <div data-slot=\"skeleton-text\" aria-hidden=\"true\" className={cn(\"grid gap-2\", className)} {...props}>\n      {Array.from({ length: lines }, (_, i) => (\n        <Skeleton key={i} className={cn(\"h-3\", i === lines - 1 && lines > 1 ? \"w-3/5\" : \"w-full\")} />\n      ))}\n    </div>\n  );\n}\n\nexport { Skeleton, SkeletonText };\n",
      "type": "registry:ui"
    }
  ],
  "docs": "Docs and examples: https://ui.cuelark.com/components/skeleton",
  "categories": [
    "feedback"
  ],
  "type": "registry:ui"
}