[{"data":1,"prerenderedAt":359},["ShallowReactive",2],{"mobile-docs-navigation":3,"command-menu-docs":62,"navigation":87,"mobile-docs-page-meta":106,"docs-pages-category":123,"\u002Fdocs\u002Fcomponents\u002Fchat-prompt-submit":136,"surround-\u002Fdocs\u002Fcomponents\u002Fchat-prompt-submit":356},[4],{"title":5,"path":6,"stem":7,"children":8,"page":61},"Docs","\u002Fdocs","docs",[9,19],{"title":10,"path":11,"stem":12,"children":13},"Introduction","\u002Fdocs\u002Fgetting-started","docs\u002F1.getting-started\u002F1.index",[14,15],{"title":10,"path":11,"stem":12},{"title":16,"path":17,"stem":18},"Installation","\u002Fdocs\u002Fgetting-started\u002Finstallation","docs\u002F1.getting-started\u002F2.installation",{"title":20,"path":21,"stem":22,"children":23},"Components","\u002Fdocs\u002Fcomponents","docs\u002F2.components\u002F0.index",[24,25,29,33,37,41,45,49,53,57],{"title":20,"path":21,"stem":22},{"title":26,"path":27,"stem":28},"Chat","\u002Fdocs\u002Fcomponents\u002Fchat","docs\u002F2.components\u002F1.chat",{"title":30,"path":31,"stem":32},"ChatMessage","\u002Fdocs\u002Fcomponents\u002Fchat-message","docs\u002F2.components\u002F2.chat-message",{"title":34,"path":35,"stem":36},"ChatMessages","\u002Fdocs\u002Fcomponents\u002Fchat-messages","docs\u002F2.components\u002F3.chat-messages",{"title":38,"path":39,"stem":40},"ChatPrompt","\u002Fdocs\u002Fcomponents\u002Fchat-prompt","docs\u002F2.components\u002F4.chat-prompt",{"title":42,"path":43,"stem":44},"ChatPromptSubmit","\u002Fdocs\u002Fcomponents\u002Fchat-prompt-submit","docs\u002F2.components\u002F5.chat-prompt-submit",{"title":46,"path":47,"stem":48},"DocsSearchModal","\u002Fdocs\u002Fcomponents\u002Fdocs-search-modal","docs\u002F2.components\u002F6.docs-search-modal",{"title":50,"path":51,"stem":52},"PricingPlans","\u002Fdocs\u002Fcomponents\u002Fpricing-plans","docs\u002F2.components\u002F7.pricing-plans",{"title":54,"path":55,"stem":56},"ReasoningDisclosure","\u002Fdocs\u002Fcomponents\u002Freasoning-disclosure","docs\u002F2.components\u002F8.reasoning-disclosure",{"title":58,"path":59,"stem":60},"HomeCta","\u002Fdocs\u002Fcomponents\u002Fhome-cta","docs\u002F2.components\u002F9.home-cta",false,[63,65,67,69,71,73,75,77,79,81,83,85],{"path":27,"title":26,"description":64},"Build Nuxt chat interfaces with installable shadcn-vue components you own and compose.",{"path":31,"title":30,"description":66},"Render an individual chat message bubble with AI SDK parts, actions, and layout control.",{"path":35,"title":34,"description":68},"Compose chat message lists with scrolling behavior, loading states, and action-ready assistant output.",{"path":39,"title":38,"description":70},"Build chat input flows with an auto-resizing prompt, keyboard shortcuts, and flexible slot composition.",{"path":43,"title":42,"description":72},"Handle chat submit, stop, and retry actions with a status-aware control for prompt workflows.",{"path":21,"title":20,"description":74},"Explore reusable components that complement Nuxt templates and real app workflows.",{"path":47,"title":46,"description":76},"Add a lightweight local search modal to Nuxt documentation interfaces.",{"path":59,"title":58,"description":78},"Render a centered marketing CTA section with an integrated starfield background.",{"path":17,"title":16,"description":80},"Start from templates or install individual components in your Nuxt project.",{"path":11,"title":10,"description":82},"Stackhacker UI is an open-source collection of Nuxt templates and components for the shadcn-vue community.",{"path":51,"title":50,"description":84},"Render a responsive pricing plan section from app-owned data.",{"path":55,"title":54,"description":86},"Show app-owned AI reasoning text in a compact collapsible disclosure.",[88],{"title":5,"path":6,"stem":7,"children":89,"page":61},[90,94],{"title":10,"path":11,"stem":12,"children":91},[92,93],{"title":10,"path":11,"stem":12},{"title":16,"path":17,"stem":18},{"title":20,"path":21,"stem":22,"children":95},[96,97,98,99,100,101,102,103,104,105],{"title":20,"path":21,"stem":22},{"title":26,"path":27,"stem":28},{"title":30,"path":31,"stem":32},{"title":34,"path":35,"stem":36},{"title":38,"path":39,"stem":40},{"title":42,"path":43,"stem":44},{"title":46,"path":47,"stem":48},{"title":50,"path":51,"stem":52},{"title":54,"path":55,"stem":56},{"title":58,"path":59,"stem":60},[107,109,110,111,113,114,115,116,117,119,121,122],{"path":11,"category":108},"overview",{"path":17,"category":108},{"path":21,"category":108},{"path":27,"category":112},"chat",{"path":31,"category":112},{"path":35,"category":112},{"path":39,"category":112},{"path":43,"category":112},{"path":47,"category":118},"content",{"path":51,"category":120},"marketing",{"path":55,"category":112},{"path":59,"category":120},[124,125,126,127,128,129,130,131,132,133,134,135],{"path":11,"category":108},{"path":17,"category":108},{"path":21,"category":108},{"path":27,"category":112},{"path":31,"category":112},{"path":35,"category":112},{"path":39,"category":112},{"path":43,"category":112},{"path":47,"category":118},{"path":51,"category":120},{"path":55,"category":112},{"path":59,"category":120},{"id":137,"title":42,"body":138,"category":112,"description":72,"extension":351,"meta":352,"navigation":353,"path":43,"seo":354,"stem":44,"__hash__":355},"docs\u002Fdocs\u002F2.components\u002F5.chat-prompt-submit.md",{"type":139,"value":140,"toc":338},"minimark",[141,145,149,160,164,172,176,181,183,187,191,291,295],[142,143],"component-preview",{"name":144},"ChatPromptSubmitDemo",[146,147,16],"h2",{"id":148},"installation",[150,151,157],"pre",{"className":152,"code":154,"language":155,"meta":156},[153],"language-bash","npx shadcn-vue@latest add \"https:\u002F\u002Fui.stackhacker.io\u002Fr\u002Fchat-prompt-submit.json\"\n","bash","",[158,159,154],"code",{"__ignoreMap":156},[146,161,163],{"id":162},"usage","Usage",[150,165,170],{"className":166,"code":168,"language":169,"meta":156},[167],"language-vue","\u003Cscript setup lang=\"ts\">\nimport { ChatPromptSubmit } from '@\u002Fcomponents\u002Fchat-prompt-submit'\n\u003C\u002Fscript>\n\n\u003Ctemplate>\n  \u003CChatPromptSubmit status=\"ready\" @stop=\"handleStop\" @reload=\"handleReload\" \u002F>\n\u003C\u002Ftemplate>\n","vue",[158,171,168],{"__ignoreMap":156},[146,173,175],{"id":174},"examples","Examples",[177,178,180],"h3",{"id":179},"default","Default",[142,182],{"name":144},[146,184,186],{"id":185},"api-reference","API Reference",[177,188,190],{"id":189},"props","Props",[192,193,194,212],"table",{},[195,196,197],"thead",{},[198,199,200,204,207,209],"tr",{},[201,202,203],"th",{},"Prop",[201,205,206],{},"Type",[201,208,180],{},[201,210,211],{},"Description",[213,214,215,236,256,274],"tbody",{},[198,216,217,223,228,233],{},[218,219,220],"td",{},[158,221,222],{},"status",[218,224,225],{},[158,226,227],{},"'ready' | 'streaming' | 'submitted' | 'error'",[218,229,230],{},[158,231,232],{},"'ready'",[218,234,235],{},"Current chat status. Controls the displayed icon.",[198,237,238,243,248,253],{},[218,239,240],{},[158,241,242],{},"disabled",[218,244,245],{},[158,246,247],{},"boolean",[218,249,250],{},[158,251,252],{},"false",[218,254,255],{},"Disable the button.",[198,257,258,263,268,271],{},[218,259,260],{},[158,261,262],{},"ariaLabel",[218,264,265],{},[158,266,267],{},"string",[218,269,270],{},"status-aware label",[218,272,273],{},"Accessible label for the icon-only button.",[198,275,276,281,285,288],{},[218,277,278],{},[158,279,280],{},"class",[218,282,283],{},[158,284,267],{},[218,286,287],{},"—",[218,289,290],{},"Additional CSS classes.",[177,292,294],{"id":293},"emits","Emits",[192,296,297,306],{},[195,298,299],{},[198,300,301,304],{},[201,302,303],{},"Event",[201,305,211],{},[213,307,308,326],{},[198,309,310,315],{},[218,311,312],{},[158,313,314],{},"stop",[218,316,317,318,321,322,325],{},"Emitted when clicked during ",[158,319,320],{},"streaming"," or ",[158,323,324],{},"submitted"," status.",[198,327,328,333],{},[218,329,330],{},[158,331,332],{},"reload",[218,334,317,335,325],{},[158,336,337],{},"error",{"title":156,"searchDepth":339,"depth":339,"links":340},2,[341,342,343,347],{"id":148,"depth":339,"text":16},{"id":162,"depth":339,"text":163},{"id":174,"depth":339,"text":175,"children":344},[345],{"id":179,"depth":346,"text":180},3,{"id":185,"depth":339,"text":186,"children":348},[349,350],{"id":189,"depth":346,"text":190},{"id":293,"depth":346,"text":294},"md",{},true,{"title":42,"description":72},"OxikV4sqOUjbIMc8MI2jT-aIoG4c4zLS5I1ty2A8ksI",[357,358],{"title":38,"path":39,"stem":40,"children":-1},{"title":46,"path":47,"stem":48,"children":-1},1782381874054]