[{"data":1,"prerenderedAt":558},["ShallowReactive",2],{"mobile-docs-navigation":3,"command-menu-docs":94,"navigation":135,"mobile-docs-page-meta":162,"docs-pages-category":187,"\u002Fdocs\u002Fcomponents\u002Fdocs-search-modal":208,"surround-\u002Fdocs\u002Fcomponents\u002Fdocs-search-modal":555},[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":70,"body":210,"category":170,"description":112,"extension":550,"meta":551,"navigation":552,"path":71,"seo":553,"stem":72,"__hash__":554},"docs\u002Fdocs\u002F2.components\u002F6.docs-search-modal.md",{"type":211,"value":212,"toc":534},"minimark",[213,217,221,232,236,244,248,254,261,269,272,276,281,283,287,291,457,461,490,494,524,528],[214,215],"component-preview",{"name":216},"DocsSearchModalDemo",[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\u002Fdocs-search-modal.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 { DocsSearchModal, type DocsSearchItem } from '@\u002Fcomponents\u002Fdocs-search-modal'\n\nconst open = ref(false)\n\nconst items: DocsSearchItem[] = [\n  {\n    title: 'Introduction',\n    description: 'Start here to understand the docs structure.',\n    href: '\u002Fdocs\u002Fintroduction',\n    section: 'Getting Started',\n    content: 'overview installation usage'\n  }\n]\n\u003C\u002Fscript>\n\n\u003Ctemplate>\n  \u003Cbutton type=\"button\" @click=\"open = true\">\n    Search\n  \u003C\u002Fbutton>\n\n  \u003CDocsSearchModal v-model:open=\"open\" :items=\"items\" \u002F>\n\u003C\u002Ftemplate>\n","vue",[230,243,240],{"__ignoreMap":228},[218,245,247],{"id":246},"app-owned-data","App-Owned Data",[249,250,251,253],"p",{},[230,252,70],{}," owns the modal UI, keyboard shortcut, local filtering, and result rendering boundary. Your app owns the search data.",[249,255,256,257,260],{},"Map static docs, Nuxt Content results, or any other source into ",[230,258,259],{},"DocsSearchItem[]"," before passing it to the component.",[222,262,267],{"className":263,"code":265,"language":266,"meta":228},[264],"language-ts","import type { DocsSearchItem } from '@\u002Fcomponents\u002Fdocs-search-modal'\n\nconst items: DocsSearchItem[] = pages.map(page => ({\n  title: page.title,\n  description: page.description,\n  href: page.path,\n  section: page.category,\n  content: page.bodyText\n}))\n","ts",[230,268,265],{"__ignoreMap":228},[249,270,271],{},"The component intentionally does not crawl pages, query Nuxt Content, call a search provider, rank results, or persist recent searches.",[218,273,275],{"id":274},"examples","Examples",[277,278,280],"h3",{"id":279},"default","Default",[214,282],{"name":216},[218,284,286],{"id":285},"api-reference","API Reference",[277,288,290],{"id":289},"props","Props",[292,293,294,312],"table",{},[295,296,297],"thead",{},[298,299,300,304,307,309],"tr",{},[301,302,303],"th",{},"Prop",[301,305,306],{},"Type",[301,308,280],{},[301,310,311],{},"Description",[313,314,315,335,355,374,393,412,440],"tbody",{},[298,316,317,323,327,332],{},[318,319,320],"td",{},[230,321,322],{},"items",[318,324,325],{},[230,326,259],{},[318,328,329],{},[230,330,331],{},"[]",[318,333,334],{},"Searchable items supplied by your app.",[298,336,337,342,347,352],{},[318,338,339],{},[230,340,341],{},"placeholder",[318,343,344],{},[230,345,346],{},"string",[318,348,349],{},[230,350,351],{},"'Search documentation...'",[318,353,354],{},"Search input placeholder.",[298,356,357,362,366,371],{},[318,358,359],{},[230,360,361],{},"searchLabel",[318,363,364],{},[230,365,346],{},[318,367,368],{},[230,369,370],{},"'Search documentation'",[318,372,373],{},"Accessible label for the dialog and search input.",[298,375,376,381,385,390],{},[318,377,378],{},[230,379,380],{},"emptyText",[318,382,383],{},[230,384,346],{},[318,386,387],{},[230,388,389],{},"'No pages available.'",[318,391,392],{},"Text shown when no query is entered and there are no items.",[298,394,395,400,404,409],{},[318,396,397],{},[230,398,399],{},"noResultsText",[318,401,402],{},[230,403,346],{},[318,405,406],{},[230,407,408],{},"'No results found.'",[318,410,411],{},"Text shown when a query has no matches.",[298,413,414,419,424,429],{},[318,415,416],{},[230,417,418],{},"shortcut",[318,420,421],{},[230,422,423],{},"boolean",[318,425,426],{},[230,427,428],{},"true",[318,430,431,432,435,436,439],{},"Enable ",[230,433,434],{},"Cmd+K"," \u002F ",[230,437,438],{},"Ctrl+K"," to open the modal.",[298,441,442,447,451,454],{},[318,443,444],{},[230,445,446],{},"class",[318,448,449],{},[230,450,346],{},[318,452,453],{},"—",[318,455,456],{},"Additional CSS classes for the modal panel.",[277,458,460],{"id":459},"models","Models",[292,462,463,474],{},[295,464,465],{},[298,466,467,470,472],{},[301,468,469],{},"Model",[301,471,306],{},[301,473,311],{},[313,475,476],{},[298,477,478,483,487],{},[318,479,480],{},[230,481,482],{},"open",[318,484,485],{},[230,486,423],{},[318,488,489],{},"Controls whether the modal is open.",[277,491,493],{"id":492},"slots","Slots",[292,495,496,507],{},[295,497,498],{},[298,499,500,503,505],{},[301,501,502],{},"Slot",[301,504,290],{},[301,506,311],{},[313,508,509],{},[298,510,511,516,521],{},[318,512,513],{},[230,514,515],{},"item",[318,517,518],{},[230,519,520],{},"{ item, query }",[318,522,523],{},"Custom result renderer.",[277,525,527],{"id":526},"types","Types",[222,529,532],{"className":530,"code":531,"language":266,"meta":228},[264],"interface DocsSearchItem {\n  title: string\n  href: string\n  description?: string\n  section?: string\n  content?: string\n}\n",[230,533,531],{"__ignoreMap":228},{"title":228,"searchDepth":535,"depth":535,"links":536},2,[537,538,539,540,544],{"id":220,"depth":535,"text":16},{"id":234,"depth":535,"text":235},{"id":246,"depth":535,"text":247},{"id":274,"depth":535,"text":275,"children":541},[542],{"id":279,"depth":543,"text":280},3,{"id":285,"depth":535,"text":286,"children":545},[546,547,548,549],{"id":289,"depth":543,"text":290},{"id":459,"depth":543,"text":460},{"id":492,"depth":543,"text":493},{"id":526,"depth":543,"text":527},"md",{},true,{"title":70,"description":112},"PrAa06gN3jJafoX_OoQOFi42BIYFo7LJHFKWCvUlPT0",[556,557],{"title":66,"path":67,"stem":68,"children":-1},{"title":74,"path":75,"stem":76,"children":-1},1782559522483]