{
  "$schema": "https://registry.buildy.tw/schema/registry-item.json",
  "dependencies": [],
  "description": "A search input with a magnifier. `value` fires on every keystroke with the new text.",
  "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/parts/search-field.json\n    A search input with a magnifier. `value` fires on every keystroke with the new text.\n    Props (p): value, placeholder, label, className. *}\n{var $v_value = ($p['value'] ?? null)}\n{var $v_placeholder = ($p['placeholder'] ?? null)}\n{var $v_label = ($p['label'] ?? null)}\n{capture $c_1}\n  {=og_include('icons/LucideIcon.latte', ['name' => 'search', 'size' => 16, 'class' => 'pointer-events-none absolute top-2 left-3 text-muted-foreground'])|noescape}\n  {=og_include('compose/Input.latte', ['size' => 'sm', 'type' => 'search', 'placeholder' => og_s($v_placeholder), 'class' => 'pr-3 pl-10', 'value' => og_s($v_value), 'attrs' => og_attrs(['aria-label', $v_label])])|noescape}\n{/capture}\n{=og_include('compose/Box.latte', ['class' => og_s(og_cnv(['relative min-w-44 flex-1', ($p['className'] ?? '')])), 'attrs' => og_attrs(['role', 'search', 'data-slot', 'search-field']), 'children' => (string) $c_1])|noescape}\n",
      "path": "blocks/search-field.latte",
      "target": "blocks/search-field.latte"
    }
  ],
  "meta": {
    "category": "components",
    "kind": "component",
    "tags": [
      "latte",
      "component"
    ]
  },
  "name": "search-field",
  "registryDependencies": [
    "box",
    "input",
    "lucide-icon",
    "utils"
  ],
  "runtime": "latte",
  "title": "Search Field",
  "type": "registry:component"
}
