[{"data":1,"prerenderedAt":422},["ShallowReactive",2],{"mobile-docs-navigation":3,"command-menu-docs":78,"navigation":111,"mobile-docs-page-meta":134,"docs-pages-category":155,"\u002Fdocs\u002Fcomponents\u002Fchat-messages":172,"surround-\u002Fdocs\u002Fcomponents\u002Fchat-messages":419},[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":42,"body":174,"category":140,"description":84,"extension":414,"meta":415,"navigation":416,"path":43,"seo":417,"stem":44,"__hash__":418},"docs\u002Fdocs\u002F2.components\u002F3.chat-messages.md",{"type":175,"value":176,"toc":401},"minimark",[177,181,185,196,200,208,212,217,219,223,227,353,357],[178,179],"component-preview",{"name":180},"ChatMessagesDemo",[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-messages.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 { Copy } from '@lucide\u002Fvue'\nimport { ChatMessages } from '@\u002Fcomponents\u002Fchat-messages'\n\nconst assistant = {\n  actions: [{ label: 'Copy message', icon: Copy }]\n}\n\u003C\u002Fscript>\n\n\u003Ctemplate>\n  \u003CChatMessages :messages=\"messages\" :status=\"status\" :assistant=\"assistant\" should-auto-scroll \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,296,316,336],"tbody",{},[234,252,253,259,264,269],{},[254,255,256],"td",{},[194,257,258],{},"messages",[254,260,261],{},[194,262,263],{},"UIMessage[]",[254,265,266],{},[194,267,268],{},"[]",[254,270,271],{},"Array of messages to display.",[234,273,274,279,284,289],{},[254,275,276],{},[194,277,278],{},"status",[254,280,281],{},[194,282,283],{},"'ready' | 'streaming' | 'submitted' | 'error'",[254,285,286],{},[194,287,288],{},"'ready'",[254,290,291,292,295],{},"Current chat status. Shows loading indicator when ",[194,293,294],{},"submitted",".",[234,297,298,303,308,313],{},[254,299,300],{},[194,301,302],{},"shouldAutoScroll",[254,304,305],{},[194,306,307],{},"boolean",[254,309,310],{},[194,311,312],{},"false",[254,314,315],{},"Enable auto-scroll to bottom on new messages.",[234,317,318,323,328,331],{},[254,319,320],{},[194,321,322],{},"assistant",[254,324,325],{},[194,326,327],{},"{ actions?: ChatMessageAction[] }",[254,329,330],{},"—",[254,332,333,334,295],{},"Assistant-specific configuration. Action icons are Vue components passed through to ",[194,335,38],{},[234,337,338,343,348,350],{},[254,339,340],{},[194,341,342],{},"class",[254,344,345],{},[194,346,347],{},"string",[254,349,330],{},[254,351,352],{},"Additional CSS classes.",[213,354,356],{"id":355},"slots","Slots",[228,358,359,370],{},[231,360,361],{},[234,362,363,366,368],{},[237,364,365],{},"Slot",[237,367,226],{},[237,369,247],{},[249,371,372,386],{},[234,373,374,378,383],{},[254,375,376],{},[194,377,142],{},[254,379,380],{},[194,381,382],{},"{ message, index, id, role, parts }",[254,384,385],{},"Custom message content renderer.",[234,387,388,393,395],{},[254,389,390],{},[194,391,392],{},"indicator",[254,394,330],{},[254,396,397,398,400],{},"Custom loading indicator (shown when status is ",[194,399,294],{},").",{"title":192,"searchDepth":402,"depth":402,"links":403},2,[404,405,406,410],{"id":184,"depth":402,"text":16},{"id":198,"depth":402,"text":199},{"id":210,"depth":402,"text":211,"children":407},[408],{"id":215,"depth":409,"text":216},3,{"id":221,"depth":402,"text":222,"children":411},[412,413],{"id":225,"depth":409,"text":226},{"id":355,"depth":409,"text":356},"md",{},true,{"title":42,"description":84},"J7Bcy52gWvMuNNbRuKjSao1AwVBC0ycER69Eg6ovbF4",[420,421],{"title":38,"path":39,"stem":40,"children":-1},{"title":46,"path":47,"stem":48,"children":-1},1782455049850]