{
  "$schema": "https://registry.buildy.tw/schema/registry-item.json",
  "dependencies": [],
  "description": "A narrow number field between a minus and a plus ghost icon button, drawn as one control (4px inside its ring). Static markup: the buttons carry no logic; the page wires them.",
  "devDependencies": [],
  "digest": "0.1.0",
  "files": [
    {
      "content": "{* Code generated by packages/kit-compose/src/server-organisms.ts from packages/compose-gen/specs (compose-gen organism emitters on kit-compose). DO NOT EDIT.\n    Source: packages/compose-gen/specs/organisms/number-field.json\n    A narrow number field between a minus and a plus ghost icon button, drawn as one control (4px inside its ring). Static markup: the buttons carry no logic; the page wires them.\n    Props (p): value, name, min, label, decrease, increase. *}\n{var $v_value = ($p['value'] ?? '')}\n{var $v_name = ($p['name'] ?? '')}\n{var $v_min = ($p['min'] ?? '')}\n{var $v_label = ($p['label'] ?? null)}\n{var $v_decrease = ($p['decrease'] ?? null)}\n{var $v_increase = ($p['increase'] ?? null)}\n{capture $c_3}\n  {capture $c_1}\n    {=og_include('icons/LucideIcon.latte', ['name' => 'minus', 'size' => 16])|noescape}\n  {/capture}\n  {=og_include('compose/Button.latte', ['variant' => 'ghost', 'size' => 'sm', 'layout' => 'icon', 'type' => 'button', 'ariaLabel' => og_s($v_decrease), 'children' => (string) $c_1])|noescape}\n  {=og_include('compose/Input.latte', ['type' => 'number', 'name' => og_s($v_name), 'value' => og_s($v_value), 'min' => og_s($v_min), 'size' => 'sm', 'class' => 'number-bare w-8 bg-transparent px-0 text-center inset-ring-0', 'attrs' => og_attrs(['aria-label', $v_label])])|noescape}\n  {capture $c_2}\n    {=og_include('icons/LucideIcon.latte', ['name' => 'plus', 'size' => 16])|noescape}\n  {/capture}\n  {=og_include('compose/Button.latte', ['variant' => 'ghost', 'size' => 'sm', 'layout' => 'icon', 'type' => 'button', 'ariaLabel' => og_s($v_increase), 'children' => (string) $c_2])|noescape}\n{/capture}\n{=og_include('compose/Box.latte', ['class' => 'inline-flex h-10 items-center gap-1 rounded bg-background p-1 inset-ring inset-ring-input', 'attrs' => og_attrs(['data-slot', 'number-field']), 'children' => (string) $c_3])|noescape}\n",
      "path": "blocks/number-field.latte",
      "target": "blocks/number-field.latte"
    }
  ],
  "meta": {
    "category": "components",
    "kind": "component",
    "tags": [
      "latte",
      "component"
    ]
  },
  "name": "number-field",
  "registryDependencies": [
    "box",
    "button",
    "input",
    "lucide-icon",
    "utils"
  ],
  "runtime": "latte",
  "title": "Number Field",
  "type": "registry:component"
}
