A unified pricing page across all four templates
The /pricing page in the Astro, Next.js, TanStack Start and Nuxt templates now shares one layout, one set of copy and one visual style.
What changed on the page
- One Monthly / Yearly switch. All tiers for the selected period sit side by side with equal-height cards (Free, Starter, Pro). Tiers are no longer split across tabs, and the Nuxt card overlap is fixed.
- Yearly prices show the monthly equivalent, with a small “Billed $99 yearly” line under it. The Yearly tab shows the best saving, such as “Save 20%”.
- Credit packs live below the plans as compact one-time cards (“No subscription required · Never expires”). They are no longer a third tab.
- Credit hints under each plan, such as “≈ 200 images or 40 videos”.
- A trust strip (cancel anytime, instant credit delivery, secure checkout), a comparison matrix grouped into credits, features and billing, and a two-column FAQ with six purchase questions.
- Restrained styling. Charcoal primary button, hairline borders, 12 / 8 / 6 px radii and tabular figures. The brand colour appears only on the saving tag and check marks. The Nuxt hero buttons, green primary button and background glow are gone from this page.
- Clean prices and copy in every locale. Prices read “$9” instead of “US$9”, and the page copy covers all 22 template locales.
Upgrading an existing project
- No backend change. There are no migrations, secrets, bindings or worker updates. Redeploy only the frontend templates you use.
- Customised pricing page (React templates): the page is still
PricingCatalogfrom@zship/react-saas-core/pricing, with new optional propsfreeHref,showFree,estimateandrenderLink. The page’s CSS classes changed from.billing-*to.pricing-*; update any custom CSS that targeted the old page classes. The homepage pricing preview still uses.billing-*andgetPricingCopy. - Customised pricing page (Nuxt):
apps/web-nuxt/app/pages/pricing.vuewas rewritten. Merge your changes by hand. Nuxt keeps copies of the shared pricing model, copy and styles inapp/utils/pricing/andapp/assets/css/pricing-page.css, and a unit test fails if they drift frompackages/react-saas-core. - The Monthly / Yearly switch needs both periods. It appears only when the same tier is sold monthly and yearly. Tiers are paired by price type with the period removed, so name your price types like
starter-monthly/starter-yearlyandpro-monthly/pro-yearly. - Free column. A Free column linking to
/dashboardis shown when you have no $0 plan. PassshowFree={false}to hide it. - Credit estimate. The default is 5 credits per image and 25 per short video. Pass
estimatewith your own rates, orfalseto hide the hint. In Nuxt, changedefaultCreditEstimatein the pricing model. - Review the FAQ against your own policy. The answers state that credit packs never expire, downgrades apply at the next renewal and used credits are not refunded. Edit them in
page-copy.jsonif your product works differently. - Plan text comes from Admin → Price Config. Fill in the label, description, features, badge and the per-locale display text for each plan. Seeded test wording (Sample, QA, demo) and feature lines that repeat the credit amount are hidden on the cards.

