{
  "$schema": "https://registry.buildy.tw/schema/registry-item.json",
  "dependencies": [],
  "description": "UI8Kit 3 Input primitive (unstyled), from @ui8kit/registry",
  "devDependencies": [],
  "digest": "0.1.0",
  "files": [
    {
      "content": "{#- Code generated by @ui8kit/codegen. DO NOT EDIT.\n    Input: Input renders a native input element (default type text).\n    Props (p): Class (string), Type (string), ID (string), Name (string), Value (string), Placeholder (string), Min (string), Max (string), Step (string), Required (bool), Disabled (bool), ReadOnly (bool), AriaInvalid (string), AriaDescribedBy (string), Attrs (attrs).\n    Classes without rendering: input_classes(p) (no asChild in Jinja2). -#}\n<input\n  {%- if not ui_has_attr(ui_def(p['Attrs'], {}), 'type') %} type=\"{{ ui_default_if_empty(ui_def(p['Type'], ''), 'text') }}\"{%- endif %}\n  {%- with cls = input_classes(p) %}{%- if cls %} class=\"{{ cls }}\"{%- endif %}{%- endwith %}\n  {%- if not ui_has_attr(ui_def(p['Attrs'], {}), 'id') %}{%- if ui_is_set_str(p['ID']) %} id=\"{{ p['ID'] }}\"{%- endif %}{%- endif %}\n  {%- if not ui_has_attr(ui_def(p['Attrs'], {}), 'name') %}{%- if ui_is_set_str(p['Name']) %} name=\"{{ p['Name'] }}\"{%- endif %}{%- endif %}\n  {%- if not ui_has_attr(ui_def(p['Attrs'], {}), 'value') %}{%- if p['Value'] is defined and p['Value'] is not none %} value=\"{{ p['Value'] }}\"{%- endif %}{%- endif %}\n  {%- if not ui_has_attr(ui_def(p['Attrs'], {}), 'placeholder') %}{%- if ui_is_set_str(p['Placeholder']) %} placeholder=\"{{ p['Placeholder'] }}\"{%- endif %}{%- endif %}\n  {%- if not ui_has_attr(ui_def(p['Attrs'], {}), 'min') %}{%- if ui_is_set_str(p['Min']) %} min=\"{{ p['Min'] }}\"{%- endif %}{%- endif %}\n  {%- if not ui_has_attr(ui_def(p['Attrs'], {}), 'max') %}{%- if ui_is_set_str(p['Max']) %} max=\"{{ p['Max'] }}\"{%- endif %}{%- endif %}\n  {%- if not ui_has_attr(ui_def(p['Attrs'], {}), 'step') %}{%- if ui_is_set_str(p['Step']) %} step=\"{{ p['Step'] }}\"{%- endif %}{%- endif %}\n  {%- if not ui_has_attr(ui_def(p['Attrs'], {}), 'required') %}{%- if ui_def(p['Required'], false) %} required{%- endif %}{%- endif %}\n  {%- if not ui_has_attr(ui_def(p['Attrs'], {}), 'disabled') %}{%- if ui_def(p['Disabled'], false) %} disabled{%- endif %}{%- endif %}\n  {%- if not ui_has_attr(ui_def(p['Attrs'], {}), 'readonly') %}{%- if ui_def(p['ReadOnly'], false) %} readonly{%- endif %}{%- endif %}\n  {%- if not ui_has_attr(ui_def(p['Attrs'], {}), 'aria-invalid') %}{%- if ui_is_set_str(p['AriaInvalid']) %} aria-invalid=\"{{ p['AriaInvalid'] }}\"{%- endif %}{%- endif %}\n  {%- if not ui_has_attr(ui_def(p['Attrs'], {}), 'aria-describedby') %}{%- if ui_is_set_str(p['AriaDescribedBy']) %} aria-describedby=\"{{ p['AriaDescribedBy'] }}\"{%- endif %}{%- endif %}\n  {{ ui_attr_html(ui_def(p['Attrs'], {}), false, ['id', 'name', 'placeholder', 'min', 'max', 'step', 'aria-invalid', 'aria-describedby']) }}\n>\n",
      "path": "ui/input/input.html.j2",
      "target": "ui/input/input.html.j2"
    }
  ],
  "meta": {
    "category": "kit",
    "kind": "primitive",
    "tags": [
      "jinja2",
      "primitive"
    ]
  },
  "name": "kit-input",
  "registryDependencies": [
    "utils"
  ],
  "runtime": "jinja2",
  "title": "Kit Input",
  "type": "registry:ui"
}
