{
  "$schema": "https://registry.buildy.tw/schema/registry-item.json",
  "dependencies": [],
  "description": "UI8Kit 3 Icon primitive (unstyled), from @ui8kit/registry",
  "devDependencies": [],
  "digest": "0.1.0",
  "files": [
    {
      "content": "{#- Code generated by @ui8kit/codegen. DO NOT EDIT.\n    Icon: Icon renders span[data-slot=icon]; Label switches to role=img + aria-label.\n    Props (p): Size (string), Class (string), Label (string), Attrs (attrs), Children (children).\n    children: TRUSTED HTML printed with |safe — never pass unescaped user input.\n    Classes without rendering: icon_classes(p) (no asChild in Jinja2). -#}\n<span\n  {%- if not ui_has_attr(ui_def(p['Attrs'], {}), 'data-slot') %} data-slot=\"icon\"{%- endif %}\n  {%- with cls = icon_classes(p) %}{%- if cls %} class=\"{{ cls }}\"{%- endif %}{%- endwith %}\n  {%- if not ui_has_attr(ui_def(p['Attrs'], {}), 'aria-hidden') %}{%- if (not ui_is_set_str(ui_def(p['Label'], ''))) %} aria-hidden=\"{{ 'true' }}\"{%- endif %}{%- endif %}\n  {%- if not ui_has_attr(ui_def(p['Attrs'], {}), 'role') %}{%- if ui_is_set_str(ui_def(p['Label'], '')) %} role=\"{{ 'img' }}\"{%- endif %}{%- endif %}\n  {%- if not ui_has_attr(ui_def(p['Attrs'], {}), 'aria-label') %}{%- if ui_is_set_str(ui_def(p['Label'], '')) %} aria-label=\"{{ ui_def(p['Label'], '') }}\"{%- endif %}{%- endif %}\n  {{ ui_attr_html(ui_def(p['Attrs'], {})) }}\n>{{ children|default('', true)|safe }}</span>\n",
      "path": "ui/icon/icon.html.j2",
      "target": "ui/icon/icon.html.j2"
    },
    {
      "content": "{\n  \"base\": \"inline-flex shrink-0 items-center justify-center\",\n  \"byKey\": {\n    \"size\": {\n      \"xs\": \"size-3\",\n      \"sm\": \"size-4\",\n      \"md\": \"size-5\",\n      \"lg\": \"size-6\",\n      \"xl\": \"size-8\"\n    }\n  },\n  \"defaults\": {\n    \"size\": \"sm\"\n  },\n  \"id\": \"ui.icon\",\n  \"keys\": [\n    \"size\"\n  ]\n}\n",
      "path": "ui/icon/icon.variants.json",
      "target": "ui/icon/icon.variants.json"
    }
  ],
  "meta": {
    "category": "kit",
    "kind": "primitive",
    "tags": [
      "jinja2",
      "primitive"
    ]
  },
  "name": "kit-icon",
  "registryDependencies": [
    "utils"
  ],
  "runtime": "jinja2",
  "title": "Kit Icon",
  "type": "registry:ui"
}
