{
  "$schema": "https://registry.buildy.tw/schema/registry-item.json",
  "dependencies": [],
  "description": "UI8Kit 3 Meter primitive (unstyled), from @ui8kit/registry",
  "devDependencies": [],
  "digest": "0.1.0",
  "files": [
    {
      "content": "{#- Code generated by @ui8kit/codegen. DO NOT EDIT.\n    Meter: Meter renders a native meter; children are the fallback text.\n    Props (p): Class (string), Value (string), Min (string), Max (string), Low (string), High (string), Optimum (string), AriaLabel (string), Attrs (attrs), Children (children).\n    children: TRUSTED HTML printed with |safe — never pass unescaped user input.\n    Classes without rendering: meter_classes(p) (no asChild in Jinja2). -#}\n<meter\n  {%- with cls = meter_classes(p) %}{%- if cls %} class=\"{{ cls }}\"{%- endif %}{%- endwith %}\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'], {}), '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'], {}), 'low') %}{%- if ui_is_set_str(p['Low']) %} low=\"{{ p['Low'] }}\"{%- endif %}{%- endif %}\n  {%- if not ui_has_attr(ui_def(p['Attrs'], {}), 'high') %}{%- if ui_is_set_str(p['High']) %} high=\"{{ p['High'] }}\"{%- endif %}{%- endif %}\n  {%- if not ui_has_attr(ui_def(p['Attrs'], {}), 'optimum') %}{%- if ui_is_set_str(p['Optimum']) %} optimum=\"{{ p['Optimum'] }}\"{%- endif %}{%- endif %}\n  {%- if not ui_has_attr(ui_def(p['Attrs'], {}), 'aria-label') %}{%- if ui_is_set_str(p['AriaLabel']) %} aria-label=\"{{ p['AriaLabel'] }}\"{%- endif %}{%- endif %}\n  {{ ui_attr_html(ui_def(p['Attrs'], {}), false, ['min', 'max', 'low', 'high', 'optimum', 'aria-label']) }}\n>{{ children|default('', true)|safe }}</meter>\n",
      "path": "ui/meter/meter.html.j2",
      "target": "ui/meter/meter.html.j2"
    }
  ],
  "meta": {
    "category": "kit",
    "kind": "primitive",
    "tags": [
      "jinja2",
      "primitive"
    ]
  },
  "name": "kit-meter",
  "registryDependencies": [
    "utils"
  ],
  "runtime": "jinja2",
  "title": "Kit Meter",
  "type": "registry:ui"
}
