[{"data":1,"prerenderedAt":505},["ShallowReactive",2],{"mobile-docs-navigation":3,"command-menu-docs":78,"navigation":111,"mobile-docs-page-meta":134,"docs-pages-category":155,"\u002Fdocs\u002Fcomponents\u002Fchat-prompt":172,"surround-\u002Fdocs\u002Fcomponents\u002Fchat-prompt":502},[4],{"title":5,"path":6,"stem":7,"children":8,"page":77},"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,61,65,69,73],{"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},"PolaroidCard","\u002Fdocs\u002Fcomponents\u002Fpolaroid-card","docs\u002F2.components\u002F10.polaroid-card",{"title":34,"path":35,"stem":36},"FeatureCard","\u002Fdocs\u002Fcomponents\u002Ffeature-card","docs\u002F2.components\u002F11.feature-card",{"title":38,"path":39,"stem":40},"ChatMessage","\u002Fdocs\u002Fcomponents\u002Fchat-message","docs\u002F2.components\u002F2.chat-message",{"title":42,"path":43,"stem":44},"ChatMessages","\u002Fdocs\u002Fcomponents\u002Fchat-messages","docs\u002F2.components\u002F3.chat-messages",{"title":46,"path":47,"stem":48},"ChatPrompt","\u002Fdocs\u002Fcomponents\u002Fchat-prompt","docs\u002F2.components\u002F4.chat-prompt",{"title":50,"path":51,"stem":52},"ChatPromptSubmit","\u002Fdocs\u002Fcomponents\u002Fchat-prompt-submit","docs\u002F2.components\u002F5.chat-prompt-submit",{"title":54,"path":55,"stem":56},"DocsSearchModal","\u002Fdocs\u002Fcomponents\u002Fdocs-search-modal","docs\u002F2.components\u002F6.docs-search-modal",{"title":58,"path":59,"stem":60},"PricingPlans","\u002Fdocs\u002Fcomponents\u002Fpricing-plans","docs\u002F2.components\u002F7.pricing-plans",{"title":62,"path":63,"stem":64},"PageToc","\u002Fdocs\u002Fcomponents\u002Fpage-toc","docs\u002F2.components\u002F8.page-toc",{"title":66,"path":67,"stem":68},"ReasoningDisclosure","\u002Fdocs\u002Fcomponents\u002Freasoning-disclosure","docs\u002F2.components\u002F8.reasoning-disclosure",{"title":70,"path":71,"stem":72},"DocsPager","\u002Fdocs\u002Fcomponents\u002Fdocs-pager","docs\u002F2.components\u002F9.docs-pager",{"title":74,"path":75,"stem":76},"HomeCta","\u002Fdocs\u002Fcomponents\u002Fhome-cta","docs\u002F2.components\u002F9.home-cta",false,[79,81,83,85,87,89,91,93,95,97,99,101,103,105,107,109],{"path":27,"title":26,"description":80},"Build Nuxt chat interfaces with installable shadcn-vue components you own and compose.",{"path":39,"title":38,"description":82},"Render an individual chat message bubble with AI SDK parts, actions, and layout control.",{"path":43,"title":42,"description":84},"Compose chat message lists with scrolling behavior, loading states, and action-ready assistant output.",{"path":47,"title":46,"description":86},"Build chat input flows with an auto-resizing prompt, keyboard shortcuts, and flexible slot composition.",{"path":51,"title":50,"description":88},"Handle chat submit, stop, and retry actions with a status-aware control for prompt workflows.",{"path":21,"title":20,"description":90},"Explore reusable components that complement Nuxt templates and real app workflows.",{"path":71,"title":70,"description":92},"Render previous and next documentation links from app-owned page data.",{"path":55,"title":54,"description":94},"Add a lightweight local search modal to Nuxt documentation interfaces.",{"path":35,"title":34,"description":96},"Render a reusable feature, content, or navigation card with optional link and icon slot.",{"path":75,"title":74,"description":98},"Render a centered marketing CTA section with an integrated starfield background.",{"path":17,"title":16,"description":100},"Start from templates or install individual components in your Nuxt project.",{"path":11,"title":10,"description":102},"Stackhacker UI is an open-source collection of Nuxt templates and components for the shadcn-vue community.",{"path":63,"title":62,"description":104},"Render an on-page table of contents from app-supplied heading links.",{"path":31,"title":30,"description":106},"Render a tilted photo card with app-owned image data and explicit presentation controls.",{"path":59,"title":58,"description":108},"Render a responsive pricing plan section from app-owned data.",{"path":67,"title":66,"description":110},"Show app-owned AI reasoning text in a compact collapsible disclosure.",[112],{"title":5,"path":6,"stem":7,"children":113,"page":77},[114,118],{"title":10,"path":11,"stem":12,"children":115},[116,117],{"title":10,"path":11,"stem":12},{"title":16,"path":17,"stem":18},{"title":20,"path":21,"stem":22,"children":119},[120,121,122,123,124,125,126,127,128,129,130,131,132,133],{"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},{"title":62,"path":63,"stem":64},{"title":66,"path":67,"stem":68},{"title":70,"path":71,"stem":72},{"title":74,"path":75,"stem":76},[135,137,138,139,141,143,145,146,147,148,149,150,151,152,153,154],{"path":11,"category":136},"overview",{"path":17,"category":136},{"path":21,"category":136},{"path":27,"category":140},"chat",{"path":31,"category":142},"content",{"path":35,"category":144},"marketing",{"path":39,"category":140},{"path":43,"category":140},{"path":47,"category":140},{"path":51,"category":140},{"path":55,"category":142},{"path":59,"category":144},{"path":63,"category":142},{"path":67,"category":140},{"path":71,"category":142},{"path":75,"category":144},[156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171],{"path":11,"category":136},{"path":17,"category":136},{"path":21,"category":136},{"path":27,"category":140},{"path":31,"category":142},{"path":35,"category":144},{"path":39,"category":140},{"path":43,"category":140},{"path":47,"category":140},{"path":51,"category":140},{"path":55,"category":142},{"path":59,"category":144},{"path":63,"category":142},{"path":67,"category":140},{"path":71,"category":142},{"path":75,"category":144},{"id":173,"title":46,"body":174,"category":140,"description":86,"extension":497,"meta":498,"navigation":499,"path":47,"seo":500,"stem":48,"__hash__":501},"docs\u002Fdocs\u002F2.components\u002F4.chat-prompt.md",{"type":175,"value":176,"toc":482},"minimark",[177,181,185,196,200,208,212,217,219,223,227,363,367,411,415,448,452],[178,179],"component-preview",{"name":180},"ChatPromptDemo",[182,183,16],"h2",{"id":184},"installation",[186,187,193],"pre",{"className":188,"code":190,"language":191,"meta":192},[189],"language-bash","npx shadcn-vue@latest add \"https:\u002F\u002Fui.stackhacker.io\u002Fr\u002Fchat-prompt.json\"\n","bash","",[194,195,190],"code",{"__ignoreMap":192},[182,197,199],{"id":198},"usage","Usage",[186,201,206],{"className":202,"code":204,"language":205,"meta":192},[203],"language-vue","\u003Cscript setup lang=\"ts\">\nimport { ChatPrompt } from '@\u002Fcomponents\u002Fchat-prompt'\n\nconst input = ref('')\n\u003C\u002Fscript>\n\n\u003Ctemplate>\n  \u003CChatPrompt v-model=\"input\" @submit=\"handleSubmit\" \u002F>\n\u003C\u002Ftemplate>\n","vue",[194,207,204],{"__ignoreMap":192},[182,209,211],{"id":210},"examples","Examples",[213,214,216],"h3",{"id":215},"default","Default",[178,218],{"name":180},[182,220,222],{"id":221},"api-reference","API Reference",[213,224,226],{"id":225},"props","Props",[228,229,230,248],"table",{},[231,232,233],"thead",{},[234,235,236,240,243,245],"tr",{},[237,238,239],"th",{},"Prop",[237,241,242],{},"Type",[237,244,216],{},[237,246,247],{},"Description",[249,250,251,272,291,311,329,347],"tbody",{},[234,252,253,259,264,269],{},[254,255,256],"td",{},[194,257,258],{},"modelValue",[254,260,261],{},[194,262,263],{},"string",[254,265,266],{},[194,267,268],{},"''",[254,270,271],{},"Current input value (v-model).",[234,273,274,279,283,288],{},[254,275,276],{},[194,277,278],{},"placeholder",[254,280,281],{},[194,282,263],{},[254,284,285],{},[194,286,287],{},"'Type your message here...'",[254,289,290],{},"Textarea placeholder text.",[234,292,293,298,303,308],{},[254,294,295],{},[194,296,297],{},"disabled",[254,299,300],{},[194,301,302],{},"boolean",[254,304,305],{},[194,306,307],{},"false",[254,309,310],{},"Disable the prompt.",[234,312,313,318,322,326],{},[254,314,315],{},[194,316,317],{},"autofocus",[254,319,320],{},[194,321,302],{},[254,323,324],{},[194,325,307],{},[254,327,328],{},"Auto-focus the textarea on mount.",[234,330,331,336,341,344],{},[254,332,333],{},[194,334,335],{},"error",[254,337,338],{},[194,339,340],{},"Error | null",[254,342,343],{},"—",[254,345,346],{},"Error state.",[234,348,349,354,358,360],{},[254,350,351],{},[194,352,353],{},"class",[254,355,356],{},[194,357,263],{},[254,359,343],{},[254,361,362],{},"Additional CSS classes.",[213,364,366],{"id":365},"emits","Emits",[228,368,369,381],{},[231,370,371],{},[234,372,373,376,379],{},[237,374,375],{},"Event",[237,377,378],{},"Payload",[237,380,247],{},[249,382,383,397],{},[234,384,385,390,394],{},[254,386,387],{},[194,388,389],{},"update:modelValue",[254,391,392],{},[194,393,263],{},[254,395,396],{},"Emitted when the input value changes.",[234,398,399,404,408],{},[254,400,401],{},[194,402,403],{},"submit",[254,405,406],{},[194,407,375],{},[254,409,410],{},"Emitted when Enter is pressed (without Shift) or the form is submitted.",[213,412,414],{"id":413},"slots","Slots",[228,416,417,426],{},[231,418,419],{},[234,420,421,424],{},[237,422,423],{},"Slot",[237,425,247],{},[249,427,428,438],{},[234,429,430,435],{},[254,431,432],{},[194,433,434],{},"header",[254,436,437],{},"Content rendered above the textarea.",[234,439,440,445],{},[254,441,442],{},[194,443,444],{},"footer",[254,446,447],{},"Content rendered below the textarea, typically for action buttons.",[213,449,451],{"id":450},"expose","Expose",[228,453,454,465],{},[231,455,456],{},[234,457,458,461,463],{},[237,459,460],{},"Name",[237,462,242],{},[237,464,247],{},[249,466,467],{},[234,468,469,474,479],{},[254,470,471],{},[194,472,473],{},"textareaRef",[254,475,476],{},[194,477,478],{},"Ref\u003CHTMLTextAreaElement>",[254,480,481],{},"Reference to the underlying textarea element.",{"title":192,"searchDepth":483,"depth":483,"links":484},2,[485,486,487,491],{"id":184,"depth":483,"text":16},{"id":198,"depth":483,"text":199},{"id":210,"depth":483,"text":211,"children":488},[489],{"id":215,"depth":490,"text":216},3,{"id":221,"depth":483,"text":222,"children":492},[493,494,495,496],{"id":225,"depth":490,"text":226},{"id":365,"depth":490,"text":366},{"id":413,"depth":490,"text":414},{"id":450,"depth":490,"text":451},"md",{},true,{"title":46,"description":86},"uRbFfCuV9ADf1LPMURN5JfdEjj61jT-VckhUeWWatK0",[503,504],{"title":42,"path":43,"stem":44,"children":-1},{"title":50,"path":51,"stem":52,"children":-1},1782455050085]