{
  "$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{parameters\n  string $size = '',\n  string $class = '',\n  string $label = '',\n  array $attrs = [],\n  string $children = '',\n}\n<span n:attr=\"[\n  'data-slot' => 'icon',\n  'class' => \\UI8Kit\\Latte\\Rt::orNull(\\UI8Kit\\Latte\\Classes::iconClasses(['size' => $size, 'class' => $class, 'label' => $label])),\n  'aria-hidden' => (!\\UI8Kit\\Latte\\Rt::isSetStr($label) ? 'true' : null),\n  'role' => (\\UI8Kit\\Latte\\Rt::isSetStr($label) ? 'img' : null),\n  'aria-label' => (\\UI8Kit\\Latte\\Rt::isSetStr($label) ? $label : null),\n  ...\\UI8Kit\\Latte\\Rt::restAttrs($attrs),\n]\">{$children|noescape}</span>",
      "path": "ui/icon/Icon.latte",
      "target": "ui/icon/Icon.latte"
    }
  ],
  "meta": {
    "category": "kit",
    "kind": "primitive",
    "tags": [
      "latte",
      "primitive"
    ]
  },
  "name": "kit-icon",
  "registryDependencies": [
    "utils"
  ],
  "runtime": "latte",
  "title": "Kit Icon",
  "type": "registry:ui"
}
