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