{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "skeleton",
  "title": "Skeleton",
  "author": "Ballmac <https://ui.ballmac.com>",
  "description": "A theme-aware loading placeholder with an animation that stops when reduced motion is requested.",
  "registryDependencies": [
    "utils"
  ],
  "files": [
    {
      "path": "registry/ballmac/components/skeleton.tsx",
      "content": "// Ballmac UI: Skeleton. https://ui.ballmac.com/components/skeleton\n// Based on shadcn/ui Skeleton (MIT, Copyright (c) 2023 shadcn), adding a reduced-motion-safe shimmer option.\nimport * as React from \"react\"\nimport { cn } from \"@/lib/utils\"\n\ntype SkeletonProps = React.ComponentProps<\"div\"> & {\n  /** Animate the placeholder while data is loading. */\n  animated?: boolean\n}\nfunction Skeleton({ className, animated = true, ...props }: SkeletonProps) {\n  return (\n    <div\n      data-slot=\"skeleton\"\n      aria-hidden=\"true\"\n      className={cn(\n        \"bg-muted rounded-md\",\n        animated && \"motion-safe:animate-pulse\",\n        className,\n      )}\n      {...props}\n    />\n  )\n}\nexport { Skeleton, type SkeletonProps }\n",
      "type": "registry:ui",
      "target": "@components/ballmac/skeleton.tsx"
    }
  ],
  "meta": {
    "schema": 1,
    "tier": "free",
    "tags": [
      "loading",
      "placeholder",
      "pulse"
    ],
    "version": "1.0.0",
    "updated": "2026-09-29",
    "ai": {
      "summary": "A theme-aware loading placeholder with an animation that stops when reduced motion is requested.",
      "whenToUse": [
        "Reserve content space while data loads",
        "Preview the shape of a card or list"
      ],
      "whenNotToUse": [
        "Use a spinner for a single short operation"
      ],
      "composesWith": [
        "card"
      ],
      "a11y": [],
      "customization": [
        "animated: enable pulse motion"
      ]
    },
    "source": {
      "name": "shadcn/ui Skeleton",
      "url": "https://github.com/shadcn-ui/ui",
      "license": "MIT",
      "copyright": "Copyright (c) 2023 shadcn",
      "modified": true
    },
    "examples": [
      "skeleton-demo",
      "skeleton-states"
    ],
    "url": "https://ui.ballmac.com/components/skeleton"
  },
  "categories": [
    "feedback"
  ],
  "type": "registry:ui"
}