{
  "$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{%- set v_value = (p.value ?? null) -%}\n{%- set v_placeholder = (p.placeholder ?? null) -%}\n{%- set v_label = (p.label ?? null) -%}\n{%- set c_1 -%}\n  {{ include('icons/LucideIcon.html.twig', {'name': 'search', 'size': 16, 'class': 'pointer-events-none absolute top-2 left-3 text-muted-foreground'}, with_context = false) }}\n  {{ include('compose/Input.html.twig', {'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])}, with_context = false) }}\n{%- endset -%}\n{{ include('compose/Box.html.twig', {'class': og_s(og_cnv(['relative min-w-44 flex-1', (p.className ?? '')])), 'attrs': og_attrs(['role', 'search', 'data-slot', 'search-field']), 'children': c_1}, with_context = false) }}\n",
      "path": "blocks/search-field.html.twig",
      "target": "blocks/search-field.html.twig"
    }
  ],
  "meta": {
    "category": "components",
    "kind": "component",
    "tags": [
      "twig",
      "component"
    ]
  },
  "name": "search-field",
  "registryDependencies": [
    "box",
    "input",
    "lucide-icon",
    "utils"
  ],
  "runtime": "twig",
  "title": "Search Field",
  "type": "registry:component"
}
