[{"data":1,"prerenderedAt":334},["ShallowReactive",2],{"mobile-docs-navigation":3,"command-menu-docs":58,"navigation":81,"mobile-docs-page-meta":99,"docs-pages-category":115,"\u002Fdocs\u002Fcomponents\u002Fpricing-plans":127,"surround-\u002Fdocs\u002Fcomponents\u002Fpricing-plans":331},[4],{"title":5,"path":6,"stem":7,"children":8,"page":57},"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],{"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},"ChatMessage","\u002Fdocs\u002Fcomponents\u002Fchat-message","docs\u002F2.components\u002F2.chat-message",{"title":34,"path":35,"stem":36},"ChatMessages","\u002Fdocs\u002Fcomponents\u002Fchat-messages","docs\u002F2.components\u002F3.chat-messages",{"title":38,"path":39,"stem":40},"ChatPrompt","\u002Fdocs\u002Fcomponents\u002Fchat-prompt","docs\u002F2.components\u002F4.chat-prompt",{"title":42,"path":43,"stem":44},"ChatPromptSubmit","\u002Fdocs\u002Fcomponents\u002Fchat-prompt-submit","docs\u002F2.components\u002F5.chat-prompt-submit",{"title":46,"path":47,"stem":48},"DocsSearchModal","\u002Fdocs\u002Fcomponents\u002Fdocs-search-modal","docs\u002F2.components\u002F6.docs-search-modal",{"title":50,"path":51,"stem":52},"PricingPlans","\u002Fdocs\u002Fcomponents\u002Fpricing-plans","docs\u002F2.components\u002F7.pricing-plans",{"title":54,"path":55,"stem":56},"PageToc","\u002Fdocs\u002Fcomponents\u002Fpage-toc","docs\u002F2.components\u002F8.page-toc",false,[59,61,63,65,67,69,71,73,75,77,79],{"path":27,"title":26,"description":60},"Build Nuxt chat interfaces with installable shadcn-vue components you own and compose.",{"path":31,"title":30,"description":62},"Render an individual chat message bubble with AI SDK parts, actions, and layout control.",{"path":35,"title":34,"description":64},"Compose chat message lists with scrolling behavior, loading states, and action-ready assistant output.",{"path":39,"title":38,"description":66},"Build chat input flows with an auto-resizing prompt, keyboard shortcuts, and flexible slot composition.",{"path":43,"title":42,"description":68},"Handle chat submit, stop, and retry actions with a status-aware control for prompt workflows.",{"path":21,"title":20,"description":70},"Explore reusable components that complement Nuxt templates and real app workflows.",{"path":47,"title":46,"description":72},"Add a lightweight local search modal to Nuxt documentation interfaces.",{"path":17,"title":16,"description":74},"Start from templates or install individual components in your Nuxt project.",{"path":11,"title":10,"description":76},"Stackhacker UI is an open-source collection of Nuxt templates and components for the shadcn-vue community.",{"path":55,"title":54,"description":78},"Render an on-page table of contents from app-supplied heading links.",{"path":51,"title":50,"description":80},"Render a responsive pricing plan section from app-owned data.",[82],{"title":5,"path":6,"stem":7,"children":83,"page":57},[84,88],{"title":10,"path":11,"stem":12,"children":85},[86,87],{"title":10,"path":11,"stem":12},{"title":16,"path":17,"stem":18},{"title":20,"path":21,"stem":22,"children":89},[90,91,92,93,94,95,96,97,98],{"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},[100,102,103,104,106,107,108,109,110,112,114],{"path":11,"category":101},"overview",{"path":17,"category":101},{"path":21,"category":101},{"path":27,"category":105},"chat",{"path":31,"category":105},{"path":35,"category":105},{"path":39,"category":105},{"path":43,"category":105},{"path":47,"category":111},"content",{"path":51,"category":113},"marketing",{"path":55,"category":111},[116,117,118,119,120,121,122,123,124,125,126],{"path":11,"category":101},{"path":17,"category":101},{"path":21,"category":101},{"path":27,"category":105},{"path":31,"category":105},{"path":35,"category":105},{"path":39,"category":105},{"path":43,"category":105},{"path":47,"category":111},{"path":51,"category":113},{"path":55,"category":111},{"id":128,"title":50,"body":129,"category":113,"description":80,"extension":326,"meta":327,"navigation":328,"path":51,"seo":329,"stem":52,"__hash__":330},"docs\u002Fdocs\u002F2.components\u002F7.pricing-plans.md",{"type":130,"value":131,"toc":312},"minimark",[132,136,140,151,155,163,167,173,180,184,189,191,195,199,300,304],[133,134],"component-preview",{"name":135},"PricingPlansDemo",[137,138,16],"h2",{"id":139},"installation",[141,142,148],"pre",{"className":143,"code":145,"language":146,"meta":147},[144],"language-bash","npx shadcn-vue@latest add \"https:\u002F\u002Fui.stackhacker.io\u002Fr\u002Fpricing-plans.json\"\n","bash","",[149,150,145],"code",{"__ignoreMap":147},[137,152,154],{"id":153},"usage","Usage",[141,156,161],{"className":157,"code":159,"language":160,"meta":147},[158],"language-vue","\u003Cscript setup lang=\"ts\">\nimport { PricingPlans, type PricingPlan } from '@\u002Fcomponents\u002Fpricing-plans'\n\nconst billingPeriod = ref\u003C'month' | 'year'>('month')\n\nconst plans: PricingPlan[] = [\n  {\n    title: 'Basic',\n    description: 'For solo builders.',\n    price: { month: '$9', year: '$90' },\n    cta: { label: 'Get started', href: '\u002Fsignup' },\n    features: ['1 workspace', 'Core analytics', 'Community support']\n  },\n  {\n    title: 'Standard',\n    description: 'For small teams.',\n    price: { month: '$19', year: '$190' },\n    cta: { label: 'Get started', href: '\u002Fsignup' },\n    features: ['5 workspaces', 'Priority analytics', 'Email support'],\n    highlight: true\n  }\n]\n\u003C\u002Fscript>\n\n\u003Ctemplate>\n  \u003CPricingPlans :plans=\"plans\" :billing-period=\"billingPeriod\" \u002F>\n\u003C\u002Ftemplate>\n","vue",[149,162,159],{"__ignoreMap":147},[137,164,166],{"id":165},"app-owned-billing","App-Owned Billing",[168,169,170,172],"p",{},[149,171,50],{}," renders pricing cards from the data you pass in. Your app owns billing periods, checkout links, auth, subscription state, and any pricing data source.",[168,174,175,176,179],{},"Use the ",[149,177,178],{},"billingPeriod"," prop to decide which price label to show. Keep monthly\u002Fyearly toggles, billing-provider integration, and account logic outside the component.",[137,181,183],{"id":182},"examples","Examples",[185,186,188],"h3",{"id":187},"default","Default",[133,190],{"name":135},[137,192,194],{"id":193},"api-reference","API Reference",[185,196,198],{"id":197},"props","Props",[200,201,202,220],"table",{},[203,204,205],"thead",{},[206,207,208,212,215,217],"tr",{},[209,210,211],"th",{},"Prop",[209,213,214],{},"Type",[209,216,188],{},[209,218,219],{},"Description",[221,222,223,244,263,283],"tbody",{},[206,224,225,231,236,241],{},[226,227,228],"td",{},[149,229,230],{},"plans",[226,232,233],{},[149,234,235],{},"PricingPlan[]",[226,237,238],{},[149,239,240],{},"[]",[226,242,243],{},"Pricing plans supplied by your app.",[206,245,246,250,255,260],{},[226,247,248],{},[149,249,178],{},[226,251,252],{},[149,253,254],{},"'month' | 'year'",[226,256,257],{},[149,258,259],{},"'month'",[226,261,262],{},"Selected price period to render.",[206,264,265,270,275,280],{},[226,266,267],{},[149,268,269],{},"highlightLabel",[226,271,272],{},[149,273,274],{},"string",[226,276,277],{},[149,278,279],{},"'Popular'",[226,281,282],{},"Label shown on highlighted plans. Use an empty string to hide it.",[206,284,285,290,294,297],{},[226,286,287],{},[149,288,289],{},"class",[226,291,292],{},[149,293,274],{},[226,295,296],{},"—",[226,298,299],{},"Additional CSS classes for the section.",[185,301,303],{"id":302},"types","Types",[141,305,310],{"className":306,"code":308,"language":309,"meta":147},[307],"language-ts","interface PricingPlan {\n  title: string\n  description: string\n  price: PricingPlanPrice\n  cta: PricingPlanCta\n  features: string[]\n  highlight?: boolean\n}\n\ninterface PricingPlanPrice {\n  month: string\n  year: string\n}\n\ninterface PricingPlanCta {\n  label: string\n  href: string\n}\n","ts",[149,311,308],{"__ignoreMap":147},{"title":147,"searchDepth":313,"depth":313,"links":314},2,[315,316,317,318,322],{"id":139,"depth":313,"text":16},{"id":153,"depth":313,"text":154},{"id":165,"depth":313,"text":166},{"id":182,"depth":313,"text":183,"children":319},[320],{"id":187,"depth":321,"text":188},3,{"id":193,"depth":313,"text":194,"children":323},[324,325],{"id":197,"depth":321,"text":198},{"id":302,"depth":321,"text":303},"md",{},true,{"title":50,"description":80},"diyzU9D-Z2gDbr14mQM33iAPI0njm9jReV2i_PAg8m4",[332,333],{"title":46,"path":47,"stem":48,"children":-1},{"title":54,"path":55,"stem":56,"children":-1},1782375509086]