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