{
  "$schema": "https://ui.adrianub.dev/schema/registry-item.json",
  "author": "Adrián UB (https://ui.adrianub.dev)",
  "name": "skeleton",
  "type": "registry:ui",
  "files": [
    {
      "path": "ui/skeleton.ts",
      "content": "import { computed, Directive, input } from '@angular/core'\n\nimport { cn } from '~/lib/utils'\n\n@Directive({\n  selector: '[ubSkeleton]',\n  standalone: true,\n  host: {\n    '[class]': 'computedClass()',\n  },\n})\nexport class UbSkeletonDirective {\n  readonly class = input<string>()\n  protected computedClass = computed(() =>\n    cn('animate-pulse rounded-md bg-primary/10', this.class()),\n  )\n}\n",
      "type": "registry:ui"
    }
  ]
}