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