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