{
  "$schema": "https://registry.buildy.tw/schema/registry-item.json",
  "dependencies": [],
  "description": "A prompt box on a dark band: attachment chips, the prompt line, a plus button, the model pill and a send button. Static links only; a host adds behavior.",
  "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/prompt-composer.json\n    A prompt box on a dark band: attachment chips, the prompt line, a plus button, the model pill and a send button. Static links only; a host adds behavior.\n    Props (p): label, attachLabel, modelLabel, send, href. -#}\n{%- set v_label = og_def(p['label'], none) -%}\n{%- set v_attachLabel = og_def(p['attachLabel'], none) -%}\n{%- set v_modelLabel = og_def(p['modelLabel'], none) -%}\n{%- set v_send = og_def(p['send'], none) -%}\n{%- set v_href = og_def(p['href'], none) -%}\n{%- set c_10 -%}\n  {%- if og_t(v_attachLabel) %}\n    {%- set c_3 -%}\n      {%- set c_1 -%}\n        {{ og_include('icons/lucide-icon.html.j2', {'p': {'Name': 'file-text', 'Size': 16}}) }}\n        {{ og_text(v_attachLabel) }}\n      {%- endset -%}\n      {{ og_include('compose/button.html.j2', {'p': {'Variant': 'ghost', 'Size': 'sm', 'Class': og_s(og_cnv(['gap-2 overflow-hidden bg-background/10 text-background hover:bg-background/20', og_preset('blocks/presets/defaults.json', ['hero', 'attach'])]))}, 'children': c_1}) }}\n      {%- set c_2 -%}\n        {{ og_include('icons/lucide-icon.html.j2', {'p': {'Name': 'paperclip', 'Size': 16}}) }}\n        {{ og_text(v_attachLabel) }}\n      {%- endset -%}\n      {{ og_include('compose/button.html.j2', {'p': {'Variant': 'ghost', 'Size': 'sm', 'Class': og_s(og_cnv(['gap-2 overflow-hidden bg-background/10 text-background hover:bg-background/20', og_preset('blocks/presets/defaults.json', ['hero', 'attach'])]))}, 'children': c_2}) }}\n    {%- endset -%}\n    {{ og_include('compose/group.html.j2', {'p': {'Gap': '2', 'Align': 'center', 'Attrs': og_attrs(['data-slot', 'composer-attachments'])}, 'children': c_3}) }}\n  {%- endif %}\n  {%- set c_4 -%}\n    {{ og_text(v_label) }}\n  {%- endset -%}\n  {{ og_include('compose/text.html.j2', {'p': {'Size': 'xs', 'Weight': 'semibold', 'Class': og_s(og_cnv(['flex w-full items-center leading-5 text-background/80', og_preset('blocks/presets/defaults.json', ['hero', 'promptLine'])])), 'Attrs': og_attrs(['data-slot', 'field'])}, 'children': c_4}) }}\n  {%- set c_9 -%}\n    {%- set c_7 -%}\n      {%- set c_5 -%}\n        {{ og_include('icons/lucide-icon.html.j2', {'p': {'Name': 'plus', 'Size': 16}}) }}\n      {%- endset -%}\n      {{ og_include('compose/button.html.j2', {'p': {'Variant': 'ghost', 'Size': 'sm', 'Layout': 'icon', 'Class': 'bg-background/10 text-background hover:bg-background/20', 'Attrs': og_attrs(['aria-label', og_coalesce([v_attachLabel, 'Attach'])])}, 'children': c_5}) }}\n      {%- if og_t(v_modelLabel) %}\n        {%- set c_6 -%}\n          {{ og_include('icons/lucide-icon.html.j2', {'p': {'Name': 'sparkles', 'Size': 16}}) }}\n          {{ og_text(v_modelLabel) }}\n          {{ og_include('icons/lucide-icon.html.j2', {'p': {'Name': 'chevron-down', 'Size': 16}}) }}\n        {%- endset -%}\n        {{ og_include('compose/button.html.j2', {'p': {'Variant': 'ghost', 'Size': 'sm', 'Class': og_s(og_cnv(['gap-2 bg-background/10 text-background hover:bg-background/20', og_preset('blocks/presets/defaults.json', ['hero', 'model'])]))}, 'children': c_6}) }}\n      {%- endif %}\n    {%- endset -%}\n    {{ og_include('compose/group.html.j2', {'p': {'Gap': '2', 'Align': 'center'}, 'children': c_7}) }}\n    {%- set c_8 -%}\n      {{ og_include('icons/lucide-icon.html.j2', {'p': {'Name': 'arrow-up', 'Size': 16}}) }}\n    {%- endset -%}\n    {{ og_include('compose/button.html.j2', {'p': {'Href': og_url(og_s(v_href)), 'Variant': 'secondary', 'Size': 'sm', 'Layout': 'icon', 'Attrs': og_attrs(['aria-label', og_coalesce([v_send, 'Send'])])}, 'children': c_8}) }}\n  {%- endset -%}\n  {{ og_include('compose/group.html.j2', {'p': {'Gap': '2', 'Align': 'center', 'Justify': 'between', 'Class': 'h-8 w-full', 'Attrs': og_attrs(['data-slot', 'composer-tools'])}, 'children': c_9}) }}\n{%- endset -%}\n{{ og_include('compose/box.html.j2', {'p': {'Class': og_s(og_cnv(['mx-auto flex w-full flex-col gap-4 bg-background/10 p-6 inset-ring inset-ring-background/30', og_preset('blocks/presets/defaults.json', ['hero', 'composer'])])), 'Attrs': og_attrs(['data-slot', 'email-form'])}, 'children': c_10}) }}\n",
      "path": "blocks/prompt-composer.html.j2",
      "target": "blocks/prompt-composer.html.j2"
    }
  ],
  "meta": {
    "category": "components",
    "kind": "component",
    "tags": [
      "jinja2",
      "component"
    ]
  },
  "name": "prompt-composer",
  "registryDependencies": [
    "box",
    "button",
    "group",
    "lucide-icon",
    "presets",
    "text",
    "utils"
  ],
  "runtime": "jinja2",
  "title": "Prompt Composer",
  "type": "registry:component"
}
