{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "skeleton",
  "type": "registry:ui",
  "title": "Skeleton (MIAN)",
  "description": "Loading placeholders shaped like the content that is coming.",
  "categories": [
    "data display",
    "skeleton",
    "loading",
    "placeholder",
    "shimmer"
  ],
  "registryDependencies": [
    "https://mian.ro/r/mian-base.json"
  ],
  "files": [
    {
      "path": "mian/components/skeleton.css",
      "type": "registry:file",
      "target": "mian/components/skeleton.css",
      "content": ".mn-skeleton {\n  display: block; min-height: .9em; border-radius: var(--mn-radius-field);\n  background: linear-gradient(90deg, var(--mn-surface-2) 0%, color-mix(in oklab, var(--mn-surface-2), var(--mn-fg) 6%) 50%, var(--mn-surface-2) 100%);\n  background-size: 200% 100%;\n  animation: mn-shimmer 1.4s ease-in-out infinite;\n}\n.mn-skeleton-text { height: .8em; border-radius: 4px; }\n.mn-skeleton-circle { border-radius: 50%; }\n@keyframes mn-shimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } }\n@media (prefers-reduced-motion: reduce) { .mn-skeleton { animation: none; } }"
    },
    {
      "path": "mian/examples/skeleton.html",
      "type": "registry:file",
      "target": "mian/examples/skeleton.html",
      "content": "<!-- Card loading -->\n<div class=\"mn-card\" style=\"max-width:22rem\" aria-busy=\"true\" aria-label=\"Loading\">\n  <div class=\"mn-card-body\" aria-hidden=\"true\">\n    <div class=\"mn-row\" style=\"flex-wrap:nowrap\"><span class=\"mn-skeleton mn-skeleton-circle\" style=\"width:2.5rem;height:2.5rem;flex:none\"></span>\n    <div class=\"mn-stack mn-grow\" style=\"--mn-gap:.5rem\"><span class=\"mn-skeleton mn-skeleton-text\" style=\"width:60%\"></span><span class=\"mn-skeleton mn-skeleton-text\" style=\"width:40%\"></span></div></div>\n    <span class=\"mn-skeleton\" style=\"height:8rem;margin-top:1rem\"></span>\n  </div>\n</div>"
    }
  ],
  "docs": "MIAN components are HTML + CSS classes, not React components. The styles are already included in mian-base; this item adds the component's CSS section and example markup for reference. Docs: https://mian.ro/components/skeleton",
  "meta": {
    "mian": {
      "license": "LicenseRef-MIAN-1.0",
      "requiresJs": false,
      "classes": [
        "mn-skeleton",
        "mn-skeleton-text · mn-skeleton-circle"
      ],
      "accessibility": [
        "Hide skeletons from assistive tech (aria-hidden) and set aria-busy=\"true\" on the region that is loading. Shimmer stops under reduced motion."
      ],
      "intents": [
        "loading placeholder",
        "content loading",
        "shimmer"
      ]
    }
  }
}
