{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "radio",
  "type": "registry:ui",
  "title": "Radio (MIAN)",
  "description": "Native radio button, restyled. Use for one choice from a short list.",
  "categories": [
    "forms",
    "radio",
    "option",
    "choice",
    "single select"
  ],
  "registryDependencies": [
    "https://mian.ro/r/mian-base.json"
  ],
  "files": [
    {
      "path": "mian/components/radio.css",
      "type": "registry:file",
      "target": "mian/components/radio.css",
      "content": ".mn-radio { border-radius: 50%; }\n.mn-radio::before {\n  content: \"\"; width: .44em; height: .44em; border-radius: 50%;\n  background: var(--_onf);\n  transform: scale(0); transition: transform var(--mn-duration) var(--mn-ease);\n}\n.mn-radio:checked::before { transform: scale(1); }"
    },
    {
      "path": "mian/examples/radio.html",
      "type": "registry:file",
      "target": "mian/examples/radio.html",
      "content": "<!-- Group -->\n<fieldset class=\"mn-fieldset\">\n  <legend>Delivery</legend>\n  <label class=\"mn-check\"><input class=\"mn-radio\" type=\"radio\" name=\"del\" checked> Standard: 3 to 5 days</label>\n  <label class=\"mn-check\"><input class=\"mn-radio\" type=\"radio\" name=\"del\"> Express: next day</label>\n  <label class=\"mn-check\"><input class=\"mn-radio\" type=\"radio\" name=\"del\" disabled> Same day (unavailable)</label>\n</fieldset>"
    }
  ],
  "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/radio",
  "meta": {
    "mian": {
      "license": "LicenseRef-MIAN-1.0",
      "requiresJs": false,
      "classes": [
        "mn-radio"
      ],
      "accessibility": [
        "Group radios in a <fieldset> with a <legend>. Arrow keys move between options natively."
      ],
      "intents": [
        "radio buttons",
        "single choice",
        "choose one"
      ]
    }
  }
}
