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