跳到正文
VibeFather
免费注册

用这个模板做的 2 个案例

同一份提示词,不同的 [VARIABLES] 变量。点一个在上方预览。

关于这个模板

单页 SaaS 定价页:月付/年付切换下有三张套餐卡片,带省 20% 标签;1 到 100 的坐席滑块会实时重算每个总价和每坐席价格;还有信任条、带吸顶表头行的完整功能对比表、直白的企业版区块和定价常见问题。默认内容为一个虚构的团队排班产品定价,每坐席 $12,每档翻倍,但结构适用于任何按坐席计费的 SaaS:改品牌、产品类别、基础价格和默认坐席数后,所有数字、套餐行和 FAQ 仍然读得通——计算器从基础价格推导一切。视觉是现代 SaaS 极简风:白色和柔和灰、近黑墨色、一个醒目的靛蓝强调色、Space Grotesk 标题配 Inter 正文、清晰细线和低调浮起的推荐套餐。没有摄影图——首屏产品面板是一个完全用 SVG 绘制的小型应用模型,每个对勾、短横和标签都是代码。要适配它,只需在一个内容文件里替换变量并重写文案;套餐、表格行和 FAQ 都从该文件读取。

模板提示词

在线演示就是用这份提示词原样做出来的,没有额外补充。其他案例只是改了 [VARIABLES] 变量的值。 提示词保持英文原版,国内常用的 AI 编程工具都能直接理解;下面附中文参考译文。

# SaaS Pricing Page

Build this website exactly as described below. Replace the [VARIABLES] with your own values; keep everything else.

## Brief
A single-page pricing page for [BRAND], a [PRODUCT] tool priced per seat. It must answer a buyer's whole pricing question on one page: a monthly/annual toggle (annual saves 20%), a seat slider (1–100, default [SEAT_DEFAULT]) that live-updates every tier total, three tier cards derived from the $[BASE_PRICE] base (Starter ×1, Team ×2 featured, Business ×4), a trust strip, a sixteen-row feature comparison table with a sticky header, a plain enterprise contact block and a six-question FAQ. One page: index.html with sections (#calculator implicit in the hero, #compare, #enterprise, #faq). Everything runs in the browser; nothing is submitted anywhere.

- Audience: Operations leads and team managers comparing three tools in a tab each, 28–50. They want the real per-seat math for THEIR headcount in seconds, hate 'Contact sales' walls for mid tiers, and read FAQ answers for cancellation traps.
- Goal: Get visitors to the free trial with a tier chosen. Within ten seconds they should see the toggle and the featured tier; within thirty, the total for their own seat count.
- Tone: Direct and a little dry, like a pricing page that respects the reader. Concrete numbers, no 'flexible plans for every team' filler, one tasteful joke maximum.

## Stack
- Framework: Vite 5 + React 18 + TypeScript
- Styling: Tailwind CSS 3.4
- Libraries: react (MIT), react-dom (MIT), motion (motion.dev, import from 'motion/react') (MIT), lucide-react (ISC), tailwindcss (MIT), postcss (MIT), autoprefixer (MIT), vite (MIT), @vitejs/plugin-react (MIT), typescript (Apache-2.0), @fontsource-variable/space-grotesk (OFL-1.1), @fontsource-variable/inter (OFL-1.1)
- Build: `npm run build` → static files in `dist/`. No backend, no server code, no external APIs.
- Setup:
  - Scaffold with npm create vite@latest using the react-ts template. One HTML page at the project root: index.html (entry src/main.tsx).
  - vite.config.ts: base './', plugins [react()], build { outDir 'dist', sourcemap false, assetsInlineLimit 0 }. Do not copy src/ into dist/.
  - Tailwind 3.4 through PostCSS (tailwindcss + postcss + autoprefixer), content ['./index.html', './src/**/*.{ts,tsx}']. In tailwind.config.ts add every color under Design to theme.extend.colors with kebab-case keys (white, mist, fog, ink, slate-ink, hairline, indigo, indigo-deep, indigo-mist, good) and fontFamily display ['Space Grotesk Variable', 'system-ui', 'sans-serif'], sans ['Inter Variable', 'system-ui', 'sans-serif']. Set borderRadius DEFAULT to 12px and add maxWidth { container: '1120px' }.
  - In src/fonts.ts import '@fontsource-variable/space-grotesk' and '@fontsource-variable/inter'; import src/fonts.ts and src/index.css from the entry file.
  - File layout: src/content.ts (every string, number, tier, feature row, FAQ answer and enterprise term, typed), src/lib/brand.ts (brandSlug = [BRAND] lowercased with every run of non-alphanumeric characters replaced by '-', emailDomain = brandSlug without hyphens + '.com', salesMail = 'sales@' + emailDomain), src/lib/pricing.ts (pure pricing: perSeat(tier, cycle) = BASE × tier.multiplier × (cycle annual ? 0.8 : 1), tierTotal = perSeat × seats; money(n) formats US dollars, cents only when needed).
  - State: src/store/pricing.ts is a tiny external store (useSyncExternalStore) holding { cycle: 'monthly' | 'annual', seats: number } with setCycle and setSeats; not persisted — pricing pages don't remember you.
  - Components in src/components/: Header.tsx, Footer.tsx, Eyebrow.tsx, Reveal.tsx (Motion whileInView wrapper), CycleToggle.tsx (with the save-20% chip), SeatSlider.tsx, TierCard.tsx (PriceLine.tsx with counting numbers), TrustStrip.tsx, CompareTable.tsx (StickyHead row; Cell.tsx rendering check/dash/number), Enterprise.tsx, Faq.tsx, CtaBand.tsx, AppPanel.tsx (the SVG product mock). src/pages/Home.tsx composes them.
  - public/favicon.svg as described under Assets. index.html: lang en, <meta name='theme-color' content='#FFFFFF'>, <link rel='icon' href='./favicon.svg' type='image/svg+xml'>, <title>Pricing — [BRAND]</title>.
  - Write ASSETS.md at the project root as described under Assets.
  - dist/ holds index.html, hashed JS/CSS, the woff2 fonts and favicon.svg. Keep it under 5 MB — no images to speak of.

## Variables
- [BRAND] — Product name (default: "Slateline"). Invented SaaS product name. Used in the wordmark, title, footer, emails (hello@ and sales@ + brandSlug without hyphens + .com) and the SVG app panel. Never a real product.
- [PRODUCT] — What it does (default: "team scheduling and time tracking"). The product category in one lowercase phrase. Drives the hero headline, tier feature lines, comparison row names and FAQ answers. Keep it generic enough that all sixteen table rows still make sense.
- [BASE_PRICE] — Base monthly price (default: "12"). The Starter per-seat monthly price as digits. Team is ×2, Business ×4; annual is 20% off all tiers. Every price on the page derives from this number.
- [SEAT_DEFAULT] — Default seats (default: "10"). Where the seat slider starts, as digits (1–100). A number typical for the product's buyer; the calculator updates live from here.
- [CREDIT] — keep a small "Template by VibeFather" link to https://vibefather.ai/t/saas-pricing-page in the footer (default: yes; delete this line to remove it)

The copy under Pages & Sections is written for the default values. If your values differ, rewrite every headline, paragraph, label and image for them — same length, tone and structure. Layout, colors, type and motion stay as described.
Keep all copy, image paths and links in one content file (for example `src/content.ts`), keyed by section, so the content can be swapped later without touching components.

## Design
### Colors
- White `#FFFFFF` — Page background, tier cards, table header.
- Mist `#F5F6F8` — Alternate section background (table, FAQ), input fill, chips.
- Fog `#EBEDF1` — Slider track, table row banding, disabled states.
- Ink `#101319` — Headlines, body text, table feature names, icon color.
- Slate Ink `#565E6C` — Secondary text, captions, eyebrows, per-seat lines.
- Hairline `#E1E4EA` — 1px hairlines, card borders, table grid lines.
- Indigo `#4F46E5` — The one accent: primary buttons, featured tier ring, toggle active, slider fill, checks, focus ring.
- Indigo Deep `#4338CA` — Primary hover and pressed, toggle active dark.
- Indigo Mist `#EEF2FF` — Featured tier wash, selected cells, the save-20% chip fill.
- Good `#0E9F6E` — The trust strip checks and the enterprise availability dot.

### Typography
- Display: H1, H2, H3, tier names, prices in large sizes, the wordmark: Space Grotesk (OFL), weights 500/700
- Text and UI: body, eyebrows, buttons, nav, table cells, FAQ, all money (font-variant-numeric tabular-nums): Inter (OFL), weights 400/500/600

### Layout & motion
- Spacing: 8px base unit. Container max-width 1120px, centered, side padding 48px desktop, 32px tablet, 20px under 640px. 12-column grid, column gap 24px. Section vertical padding 96px desktop, 72px under 1024px, 56px under 640px — a utility page breathes less than a brochure. Type scale: H1 clamp(40px, 5.6vw, 72px) Space Grotesk 700, line-height 1.02, letter-spacing -0.02em; H2 clamp(28px, 3.6vw, 44px) Space Grotesk 700 letter-spacing -0.01em; H3 20px Space Grotesk 700; price figures Space Grotesk 700 44px with tabular-nums; lead Inter 400 17px / 1.65 Ink at 85%; body Inter 400 15.5px / 1.7 (max-width 66ch); eyebrow Inter 600 12px uppercase letter-spacing 0.14em Slate Ink; caption Inter 400 13px Slate Ink. Buttons: height 46px, padding 0 22px, Inter 600 14px. Primary: Indigo fill, White text. Secondary: 1px Ink/20% border, Ink text. Small buttons 34px. Inputs: not needed (no forms except mailto). Focus ring everywhere: 2px Indigo outline with 3px offset.
- Radius: 12px on cards, the toggle, the slider thumb, chips and the FAQ rows. 999px only for pills (badges, save chip) and the toggle track.
- Motion: Easing: --ease-out cubic-bezier(0.22, 0.61, 0.36, 1) for reveals and number changes; --ease-io cubic-bezier(0.65, 0, 0.35, 1) for the toggle and accordion. Precise, product-grade — small distances, quick settles.
- Motion: Reveal: blocks wrapped in <Reveal> start at opacity 0, translateY(12px) and animate to rest over 500ms --ease-out when 15% visible (Motion whileInView, viewport once). Siblings stagger by 60ms.
- Motion: Cycle toggle: the sliding thumb moves 200ms --ease-io with a slight scaleX squash; every price on the page counts to its new value over 400ms --ease-io (tabular-nums hold their width); the save-20% chip fades in only on annual.
- Motion: Seat slider: the thumb pops 1.0→1.1→1.0 on grab; the fill tracks instantly; totals count on release or step (200ms). The featured tier's total sits in a slightly larger figure that ticks once when it changes.
- Motion: Tier cards: hover lifts 3px with a hairline shadow; the featured card is permanently lifted 6px with a 2px Indigo ring and an Indigo Mist wash.
- Motion: Comparison table: the header row sticks under the page header (top 76px) with White/95% and blur; scrolling under it, the active tier's column carries a faint Indigo Mist band; check cells draw their check stroke once when scrolled into view (60ms stagger, disabled under reduced motion).
- Motion: FAQ accordions: height 0 to auto, opacity 0 to 1, 260ms --ease-io; Plus rotates 45 degrees into an X.
- Motion: Header: sticky from the top, White/90% with blur and a Hairline border always (no hero transparency — this is a utility page).
- Motion: Links: .link-draw grows a 1px currentColor underline over 250ms on hover and focus-visible.
- Motion: prefers-reduced-motion: reduce — disable counting (swap instantly), squash, draws and staggers; keep color/border/shadow hover changes. Use CSS @media in index.css plus Motion's useReducedMotion in components.
- Imagery: No photography at all — everything drawn in code. The hero's AppPanel is a small SVG product mock (a week strip with shift blocks, a totals sidebar and a cursor dot) using Hairline strokes, Indigo and Mist fills, strictly abstract UI geometry. Checks, dashes, slider, toggle, badges and the favicon are all SVG/CSS. Icons: lucide-react only, stroke width 2.

## Pages & Sections
### Pricing (`index.html`)
1. **Content file and copy rules** — All copy below is written for the default values ([BRAND] = Slateline, [PRODUCT] = team scheduling and time tracking, [BASE_PRICE] = 12, [SEAT_DEFAULT] = 10). Put every string, number and list in src/content.ts and render from it. If any variable value differs, rewrite every headline, tier line, table row name, FAQ answer and the AppPanel labels so they are specific and believable for the new product, keeping the same structure and counts (3 tiers, 16 table rows, 4 enterprise terms, 6 FAQs). Tiers derive from [BASE_PRICE]: Starter $12/seat monthly, Team $24/seat monthly (featured), Business $48/seat monthly; annual = 20% off each ($9.60, $19.20, $38.40, shown with cents). Trial 14 days, no card; refunds 30 days; cancel self-serve any time. All figures invented.
   Layout: n/a
   Motion: n/a
2. **Header** — Left: wordmark '[BRAND]' (Space Grotesk 700 19px) with a small 8px Indigo dot after it, linking to ./index.html. Center nav (Inter 500 14px): 'Plans' → #plans, 'Compare' → #compare, 'Enterprise' → #enterprise, 'FAQ' → #faq. Right: secondary 'Sign in' (href '#', styled as a quiet link) and primary 'Start free' (href '#', small). Under 820px: wordmark + Start free only.
   Layout: Sticky top, height 76px, White/90% blur, 1px Hairline bottom border, container-aligned.
3. **Masthead with calculator** — Eyebrow 'Pricing'. H1: 'Pay for the crew you have.' Lead (max-width 560px): 'Per-seat pricing for [PRODUCT]. Move the slider, flip the toggle — every number on this page is the number you''d pay.' The CycleToggle: 'Monthly | Annual' with the chip 'Save 20%' appearing on annual. Below, the SeatSlider: label 'How many seats?' with the live count in a Space Grotesk 700 22px figure, slider 1–100 step 1, end labels '1' and '100+', and the line 'at 100+ seats, Enterprise is usually cheaper — see below.' Right side (desktop): the AppPanel SVG with the caption 'The [BRAND] week view — pictured mid-price-argument.'
   Layout: White background, vertical padding 96px top. Two columns on desktop: calculator 6 cols, AppPanel 5 cols offset 1. The toggle and slider sit inside one Mist panel (16px radius, 28px padding) so the calculator reads as one object. Under 1024px: single column, panel full-width.
4. **Tier cards** — Section id='plans'. Three cards: 'Starter' — $[BASE_PRICE]/seat monthly ($9.60 annual) — 'For small crews getting off spreadsheets.' Lines: 'Up to 5 seats' (wait — tiers are per-seat; use): 'Unlimited schedules'; 'Time tracking'; '30-day history'; 'Email support'. CTA secondary 'Start free'. 'Team' (featured, chip 'Most popular') — $24/seat monthly ($19.20 annual) — 'For teams that live in the schedule.' Lines: 'Everything in Starter'; 'Roles & permissions'; 'Time-off tracking'; 'Integrations (calendar, payroll)'; 'Priority support'. CTA primary 'Start free'. 'Business' — $48/seat monthly ($38.40 annual) — 'For operations with audits in their future.' Lines: 'Everything in Team'; 'Approvals & audit log'; 'Custom fields & exports'; 'SSO (SAML)'; 'Dedicated success manager'. CTA secondary 'Start free'. Each card's total line under the CTA: '= $240/mo for 10 seats' (live, Inter 500 13px Slate Ink). Every price reacts to toggle and slider.
   Layout: White background continuing. Three columns 24px gap; featured card lifted 6px, 2px Indigo ring, Indigo Mist wash, 'Most popular' chip pinned to its top edge. Card anatomy: name Space Grotesk 700 18px, one-liner 14px, price figure 44px + '/seat' + cycle line, 5 check lines 14px, CTA full-width, total caption. Under 900px: stacked.
5. **Trust strip** — A single Mist band, three items with Good checks: '14-day free trial — no card'; 'Cancel any time, self-serve, no call'; '30-day money-back, no questions worth asking'. Centered, Inter 500 14px.
   Layout: Full-width band, vertical padding 28px, three equal items with 16px icon-text gap, wrapping on mobile.
6. **Comparison table** — Section id='compare'. Eyebrow 'Compare plans' and H2 'All sixteen rows, no asterisks.' The table: sticky header row (empty first cell, Starter, Team, Business — header cells carry each tier's price/seat live); 16 rows grouped with subtle group headers ('Scheduling', 'Time & attendance', 'Controls', 'Support'): 1 'Unlimited schedules' ✓✓✓; 2 'Shift swaps' — ✓ ✓; 3 'Open shifts marketplace' — — ✓; 4 'Time tracking' ✓ ✓ ✓; 5 'Time-off & leave policies' — ✓ ✓; 6 'GPS check-in' — — ✓; 7 'Roles & permissions' — ✓ ✓; 8 'Approval chains' — — ✓; 9 'Audit log (1 year)' — — ✓; 10 'Custom fields' — — ✓; 11 'Exports (CSV, XLSX)' — ✓ ✓; 12 'Calendar & payroll integrations' — ✓ ✓; 13 'API access' — — ✓; 14 'SSO (SAML)' — — ✓; 15 'Email support' ✓ ✓ ✓; 16 'Priority & success manager' — priority ✓ / manager: 'Priority' for Team, 'Dedicated' for Business (text cells). Checks in Indigo; dashes as true em-dashes in Fog.
   Layout: Mist background section, table on White 12px radius 1px Hairline border; header row sticky top 76px; first column sticky left on mobile with a White/95% shadow edge; rows 44px tall, Hairline dividers, group headers 36px in Inter 600 11px uppercase Slate Ink; Team column carries a faint Indigo Mist/50% band. Under 640px: table scrolls horizontally as a whole (first sticky column).
7. **Enterprise** — Section id='enterprise'. An Ink panel (White text, 16px radius): left, eyebrow 'Enterprise' in Indigo Mist tone and H2 'Over 100 seats, or paperwork to satisfy.' and four term lines with Good dots: 'Volume pricing from seat 101'; 'SSO, SCIM and a signed DPA'; '99.9% uptime SLA with credits'; 'Named human on support, not a queue'. Right: primary-on-dark 'Talk to sales' as a mailto to sales@ + emailDomain (White button, Ink text) with the caption 'We reply within one business day — usually faster than the demo you''ll book.'
   Layout: White background, panel container-aligned, vertical padding 56px inner, two columns 7/4 offset 1, items vertically centered.
8. **FAQ** — Section id='faq'. Eyebrow 'Pricing FAQ' and H2 'The questions everyone asks.' Six accordions: 1) 'What counts as a seat?' — 'Anyone who logs in. Managers who only view schedules are free; we''d rather you invite the whole office than bill lurkers.' 2) 'Can I change tiers mid-cycle?' — 'Yes, up or down. We prorate to the day and the difference lands on the next invoice.' 3) 'What happens if I add seats?' — 'The slider above already told you: new seats are prorated from the day they join, not the first of the month.' 4) 'Is there a free plan?' — 'A 14-day trial with everything, then Starter. We don''t do a crippled forever-free tier; support costs more than small accounts pay.' 5) 'How does the annual discount work?' — 'Pay yearly, save 20%. It''s the same product — the discount is for the paperwork we skip.' 6) 'What if we cancel?' — 'Self-serve, effective immediately, data exportable for 90 days. No retention scripts, no 'call to discuss'."
   Layout: Mist background, accordion rows on White 1px Hairline border, question Space Grotesk 500 17px, answer Inter 15.5px / 1.7 max-width 66ch, Plus icon right. Container max-width 760px.
9. **CTA band and footer** — CTA: a White band with a 1px Hairline top border: H2 'Fourteen days, no card, all features.' and a primary 'Start free' (href '#') beside secondary 'Talk to sales' (mailto sales@ + emailDomain). Footer: Ink/95% background, three columns: wordmark + '[PRODUCT] — priced to be understood.'; 'Plans' anchors (Plans, Compare, Enterprise, FAQ); 'Write' hello@ + emailDomain and sales@ + emailDomain. Bottom line: '© [BRAND]. Prices in USD.'
   Layout: CTA band vertical padding 72px centered; footer vertical padding 56px, 3 columns, bottom line under a White/10% hairline.

## Assets
- icon: lucide-react only: Check, Minus, Plus, ArrowRight, Building2, ShieldCheck, Timer, RefreshCw, Users, CalendarDays, Lock. Stroke width 2, 16–24px, color inherits. public/favicon.svg hand-written: viewBox 0 0 32 32, a 32x32 rect rx 8 filled #4F46E5, a White calendar-strip glyph (a rounded rect with two top notches and three White dots). No other logo: the product name is always set as type.
- image: Drawn in code only — no photos, no stock, no external images. The AppPanel hero mock (week strip, shift blocks, totals sidebar, cursor dot) is inline SVG with Hairline strokes and Indigo/Mist fills; table checks, dashes, the toggle, slider, chips and the favicon are SVG/CSS. Write ASSETS.md anyway, listing lucide-react (ISC), @fontsource-variable/space-grotesk and @fontsource-variable/inter (OFL-1.1), and noting 'No image assets; all visuals drawn in SVG/CSS.'
- font: Install @fontsource-variable/space-grotesk and @fontsource-variable/inter and import them in src/fonts.ts as listed in Setup. Vite bundles the woff2 files into dist/.

## Don'ts
- No backend, no form submission, no fetch to any API: the toggle, slider and totals are pure client math in src/lib/pricing.ts; CTAs are hrefs ('#' for the trial, mailto for sales).
- Self-host everything: fonts through Fontsource, icons as npm packages or inline SVG. No CDN <script> or <link> tags, no Google Fonts, no analytics.
- Production build: minified, no source maps, no src/ copied into dist/, single command npm run build, output in dist/ under 5 MB.
- No real products, pricing pages or payment marks (no real card logos, no Stripe/PayPal badges); every tier name, number and feature line is invented.
- No dates or years anywhere; the site never shows today's date.
- Never mention VibeFather or any other brand inside the site except the optional credit footer link; all copy is invented US English.
- Respect prefers-reduced-motion everywhere: disable counting, squash, staggered check draws and slides; keep color/border/shadow hovers.
- The page must work at 1440x900 desktop and 390x844 mobile with zero console errors; the slider, toggle and accordion work with keyboard only (arrow keys move the slider), the sticky table header never overlaps the sticky page header, and every interactive element has a visible focus ring.
- Keep copy concrete: no lorem, no 'flexible plans for every team'; every number derives from [BASE_PRICE] in src/content.ts.

---
— Prompt by VibeFather · https://vibefather.ai/t/saas-pricing-page · CC BY-NC 4.0 (non-commercial; commercial use needs a VibeFather Pro license) · Request removal: https://vibefather.ai/takedown
中文参考译文(帮助理解,复制给 AI 时请用上面的英文原版)
# SaaS 定价页面

完全按照以下描述构建此网站。将 [VARIABLES] 替换为你自己的值;其余内容保持不变。

## 简介
为 [BRAND] 打造的单页定价页面,[BRAND] 是一款按席位计价的 [PRODUCT] 工具。它必须在一个页面上回答买家关于定价的全部问题:月付/年付切换(年付节省 20%)、席位滑块(1–100,默认 [SEAT_DEFAULT])实时更新每个档位的总价、三张基于 $[BASE_PRICE] 基准价推导出的档位卡片(Starter ×1、Team ×2 为主推、Business ×4)、一条信任背书条、一张十六行且表头吸顶的功能对比表、一个朴素的企业联系区块,以及六问 FAQ。单页:index.html,包含各区块(#calculator 隐含在 hero 中、#compare、#enterprise、#faq)。一切都在浏览器中运行;不向任何地方提交数据。

- 受众:运营负责人和团队管理者,年龄 28–50,各自在一个标签页里对比三款工具。他们想在几秒内算出自己团队人数对应的真实按席位价格,讨厌中间档位被“联系销售”墙挡住,会读 FAQ 答案来找出取消条款里的坑。
- 目标:让访客选定一个档位并进入免费试用。十秒内他们应看到切换开关和主推档位;三十秒内看到自己席位数量对应的总价。
- 语气:直接、略带冷幽默,像一个尊重读者的定价页面。具体数字,不要“适合各种团队的灵活方案”这类废话,最多一个得体的玩笑。

## 技术栈
- 框架:Vite 5 + React 18 + TypeScript
- 样式:Tailwind CSS 3.4
- 库:react(MIT)、react-dom(MIT)、motion(motion.dev,从 'motion/react' 导入)(MIT)、lucide-react(ISC)、tailwindcss(MIT)、postcss(MIT)、autoprefixer(MIT)、vite(MIT)、@vitejs/plugin-react(MIT)、typescript(Apache-2.0)、@fontsource-variable/space-grotesk(OFL-1.1)、@fontsource-variable/inter(OFL-1.1)
- 构建:`npm run build` → 静态文件输出到 `dist/`。无后端、无服务端代码、无外部 API。
- 设置:
  - 使用 react-ts 模板通过 npm create vite@latest 脚手架创建。项目根目录下一个 HTML 页面:index.html(入口 src/main.tsx)。
  - vite.config.ts:base './',plugins [react()],build { outDir 'dist', sourcemap false, assetsInlineLimit 0 }。不要将 src/ 复制到 dist/。
  - 通过 PostCSS 使用 Tailwind 3.4(tailwindcss + postcss + autoprefixer),content ['./index.html', './src/**/*.{ts,tsx}']。在 tailwind.config.ts 中,将 Design 下的每种颜色以 kebab-case 键添加到 theme.extend.colors(white、mist、fog、ink、slate-ink、hairline、indigo、indigo-deep、indigo-mist、good),fontFamily display ['Space Grotesk Variable', 'system-ui', 'sans-serif'],sans ['Inter Variable', 'system-ui', 'sans-serif']。将 borderRadius DEFAULT 设为 12px,并添加 maxWidth { container: '1120px' }。
  - 在 src/fonts.ts 中导入 '@fontsource-variable/space-grotesk' 和 '@fontsource-variable/inter';从入口文件导入 src/fonts.ts 和 src/index.css。
  - 文件布局:src/content.ts(每个字符串、数字、层级、功能行、FAQ 答案和企业术语,均带类型),src/lib/brand.ts(brandSlug = [BRAND] 转为小写,并将每一段连续的非字母数字字符替换为 '-',emailDomain = 去掉连字符的 brandSlug + '.com',salesMail = 'sales@' + emailDomain),src/lib/pricing.ts(纯定价逻辑:perSeat(tier, cycle) = BASE × tier.multiplier × (cycle annual ? 0.8 : 1),tierTotal = perSeat × seats;money(n) 格式化为美元,仅在需要时显示美分)。
  - 状态:src/store/pricing.ts 是一个小型外部 store(useSyncExternalStore),持有 { cycle: 'monthly' | 'annual', seats: number },并提供 setCycle 和 setSeats;不做持久化——定价页面不会记住你。
  - 组件位于 src/components/:Header.tsx、Footer.tsx、Eyebrow.tsx、Reveal.tsx(Motion whileInView 包装器)、CycleToggle.tsx(带 save-20% 标签)、SeatSlider.tsx、TierCard.tsx(PriceLine.tsx 带计数数字)、TrustStrip.tsx、CompareTable.tsx(StickyHead 行;Cell.tsx 渲染 check/dash/number)、Enterprise.tsx、Faq.tsx、CtaBand.tsx、AppPanel.tsx(SVG 产品模拟图)。src/pages/Home.tsx 组合它们。
  - public/favicon.svg 如 Assets 下所述。index.html:lang en,<meta name='theme-color' content='#FFFFFF'>,<link rel='icon' href='./favicon.svg' type='image/svg+xml'>,<title>Pricing — [BRAND]</title>。
  - 在项目根目录编写 ASSETS.md,如 Assets 下所述。
  - dist/ 包含 index.html、带哈希的 JS/CSS、woff2 字体和 favicon.svg。保持在 5 MB 以下——基本没有图片。

## 变量
- [BRAND] — 产品名称(默认:"Slateline")。虚构的 SaaS 产品名称。用于字标、标题、页脚、电子邮件(hello@ 和 sales@ + 不含连字符的 brandSlug + .com)以及 SVG 应用面板。绝不是真实产品。
- [PRODUCT] — 它的功能(默认:"team scheduling and time tracking")。用一个全小写短语表述的产品类别。驱动主视觉标题、各档功能行、对比行名称和 FAQ 答案。保持足够通用,以便全部十六个表格行仍然说得通。
- [BASE_PRICE] — 基础月价(默认:"12")。Starter 每席位月价,以数字表示。Team 为 ×2,Business 为 ×4;年付所有档位打 8 折。页面上的每个价格都由此数字推导而来。
- [SEAT_DEFAULT] — 默认席位数(默认:"10")。席位滑块起始位置,以数字表示(1–100)。一个对该产品买家而言典型的数字;计算器从此处实时更新。
- [CREDIT] — 在页脚保留一个小型 "Template by VibeFather" 链接指向 https://vibefather.ai/t/saas-pricing-page(默认:是;删除此行即可移除)

Pages & Sections 下的文案是按默认值撰写的。如果你的值不同,请为它们重写每个标题、段落、标签和图片——保持相同的长度、语气和结构。布局、颜色、字体和动效保持所述不变。
将所有文案、图片路径和链接放在一个内容文件中(例如 `src/content.ts`),按区块作为键,以便之后无需改动组件即可替换内容。

## 设计
### 颜色
- 白色(White)`#FFFFFF` — 页面背景、套餐卡片、表头。
- 薄雾色(Mist)`#F5F6F8` — 交替区块背景(表格、FAQ)、输入框填充、标签片。
- 雾色(Fog)`#EBEDF1` — 滑块轨道、表格行底纹、禁用状态。
- 墨色(Ink)`#101319` — 标题、正文、表格功能名称、图标颜色。
- 石板墨色(Slate Ink)`#565E6C` — 次要文本、说明文字、眉题、按席位计费行。
- 发丝线色(Hairline)`#E1E4EA` — 1px 发丝线、卡片边框、表格网格线。
- 靛蓝色(Indigo)`#4F46E5` — 唯一强调色:主按钮、推荐套餐描边、开关激活态、滑块填充、勾选标记、焦点环。
- 深靛蓝色(Indigo Deep)`#4338CA` — 主按钮悬停与按下态、开关激活深色。
- 靛蓝薄雾色(Indigo Mist)`#EEF2FF` — 推荐套餐底色、选中单元格、save-20% 标签片填充。
- 良好色(Good)`#0E9F6E` — 信任条勾选标记与企业版可用性圆点。

### 字体排印
- 展示字体:H1、H2、H3、套餐名称、大号价格、字标:Space Grotesk(OFL),字重 500/700
- 文本与 UI:正文、眉题、按钮、导航、表格单元格、FAQ、所有金额(font-variant-numeric tabular-nums):Inter(OFL),字重 400/500/600

### 布局与动效
- 间距:8px 基准单位。容器最大宽度 1120px,居中,侧边内边距桌面端 48px、平板端 32px、640px 以下 20px。12 列网格,列间距 24px。区块垂直内边距桌面端 96px、1024px 以下 72px、640px 以下 56px — 工具型页面比宣传册页面呼吸感更少。字号阶梯:H1 clamp(40px, 5.6vw, 72px) Space Grotesk 700,行高 1.02,字距 -0.02em;H2 clamp(28px, 3.6vw, 44px) Space Grotesk 700 字距 -0.01em;H3 20px Space Grotesk 700;价格数字 Space Grotesk 700 44px 配合 tabular-nums;导语 Inter 400 17px / 1.65 Ink 85%;正文 Inter 400 15.5px / 1.7(最大宽度 66ch);眉题 Inter 600 12px 大写 字距 0.14em Slate Ink;说明文字 Inter 400 13px Slate Ink。按钮:高度 46px,内边距 0 22px,Inter 600 14px。主按钮:Indigo 填充,White 文字。次按钮:1px Ink/20% 边框,Ink 文字。小按钮 34px。输入框:不需要(除 mailto 外无表单)。全局焦点环:2px Indigo 轮廓,偏移 3px。
- 圆角:卡片、开关、滑块滑块头、标签片和 FAQ 行使用 12px。仅胶囊形元素(徽章、save 标签片)和开关轨道使用 999px。
- 动效:缓动:--ease-out cubic-bezier(0.22, 0.61, 0.36, 1) 用于显现和数字变化;--ease-io cubic-bezier(0.65, 0, 0.35, 1) 用于开关和手风琴。精准、产品级 — 小距离、快速稳定。
- 动效:显现:包裹在 <Reveal> 中的区块从 opacity 0、translateY(12px) 开始,在 15% 可见时(Motion whileInView,viewport once)以 500ms --ease-out 动画到静止状态。同级元素错开 60ms。
- 动效:周期切换:滑动滑块头以 200ms --ease-io 移动,带轻微 scaleX 挤压;页面上每个价格以 400ms --ease-io 计数到新值(tabular-nums 保持宽度);save-20% 标签片仅在年付时淡入。
- 动效:席位滑块:滑块头在抓取时 1.0→1.1→1.0 弹跳;填充即时跟随;总计在释放或步进时计数(200ms)。推荐套餐的总计以略大的数字呈现,变化时跳动一次。
- 动效:套餐卡片:悬停上浮 3px 并带发丝线阴影;推荐卡片永久上浮 6px,带 2px Indigo 描边和 Indigo Mist 底色。
- 动效:对比表格:表头行吸附在页面头部下方(top 76px),White/95% 加模糊;在其下方滚动时,当前套餐列带有淡淡的 Indigo Mist 色带;勾选单元格在滚动进入视图时绘制一次勾选笔画(错开 60ms,减少动效下禁用)。
- 动效:FAQ 手风琴:高度 0 到 auto,opacity 0 到 1,260ms --ease-io;加号旋转 45 度变成 X。
- 动效:头部:从顶部吸附,White/90% 加模糊和始终存在的 Hairline 边框(无首屏透明 — 这是工具型页面)。
- 动效:链接:.link-draw 在悬停和 focus-visible 时以 250ms 生长出 1px currentColor 下划线。
- 动效:prefers-reduced-motion: reduce — 禁用计数(即时切换)、挤压、绘制和错开;保留颜色/边框/阴影的悬停变化。在 index.css 中使用 CSS @media,并在组件中使用 Motion 的 useReducedMotion。
- 图像:完全无摄影 — 一切用代码绘制。首屏的 AppPanel 是一个小型 SVG 产品模型(带班次区块的一周条、总计侧栏和光标点),使用 Hairline 描边、Indigo 和 Mist 填充,严格抽象的 UI 几何。勾选标记、破折号、滑块、开关、徽章和 favicon 均为 SVG/CSS。图标:仅 lucide-react,描边宽度 2。

## 页面与区块
### 定价(`index.html`)
1. **内容文件与文案规则** — 以下所有文案均按默认值编写([BRAND] = Slateline,[PRODUCT] = 团队排班与工时追踪,[BASE_PRICE] = 12,[SEAT_DEFAULT] = 10)。将每个字符串、数字和列表放入 src/content.ts 并从中渲染。若任何变量值不同,请重写每个标题、档位行、表格行名称、FAQ 答案和 AppPanel 标签,使其对新产品的描述具体且可信,同时保持相同的结构和数量(3 个档位、16 个表格行、4 个企业条款、6 个 FAQ)。档位由 [BASE_PRICE] 推导:Starter $12/席位/月,Team $24/席位/月(推荐),Business $48/席位/月;年付 = 各减 20%($9.60、$19.20、$38.40,显示到分)。试用 14 天,无需信用卡;退款 30 天;随时自助取消。所有数字均为虚构。
   布局:不适用
   动效:不适用
2. **页头** — 左侧:文字标识 '[BRAND]'(Space Grotesk 700 19px),后跟一个 8px 靛蓝色圆点,链接到 ./index.html。中间导航(Inter 500 14px):'Plans' → #plans,'Compare' → #compare,'Enterprise' → #enterprise,'FAQ' → #faq。右侧:次要 'Sign in'(href '#',样式为低调链接)和主要 'Start free'(href '#',小号)。低于 820px:仅显示文字标识 + Start free。
   布局:顶部吸顶,高度 76px,White/90% 模糊,1px 细线底边框,容器对齐。
3. **带计算器的刊头** — 眉题 'Pricing'。H1:'Pay for the crew you have.' 导语(最大宽度 560px):'Per-seat pricing for [PRODUCT]. Move the slider, flip the toggle — every number on this page is the number you''d pay.' CycleToggle:'Monthly | Annual',年付时显示标签 'Save 20%'。下方是 SeatSlider:标签 'How many seats?',实时数量以 Space Grotesk 700 22px 数字显示,滑块 1–100 步长 1,两端标签 '1' 和 '100+',以及一行文字 'at 100+ seats, Enterprise is usually cheaper — see below.' 右侧(桌面端):AppPanel SVG,配文 'The [BRAND] week view — pictured mid-price-argument.'
   布局:白色背景,顶部垂直内边距 96px。桌面端两栏:计算器 6 栏,AppPanel 5 栏偏移 1。切换器和滑块放在一个 Mist 面板内(16px 圆角,28px 内边距),使计算器读起来像一个整体。低于 1024px:单栏,面板全宽。
4. **档位卡片** — 区块 id='plans'。三张卡片:'Starter' — $[BASE_PRICE]/席位/月(年付 $9.60)— 'For small crews getting off spreadsheets.' 行项:'Up to 5 seats'(等等——档位是按席位的;改用):'Unlimited schedules';'Time tracking';'30-day history';'Email support'。CTA 次要 'Start free'。'Team'(推荐,标签 'Most popular')— $24/席位/月(年付 $19.20)— 'For teams that live in the schedule.' 行项:'Everything in Starter';'Roles & permissions';'Time-off tracking';'Integrations (calendar, payroll)';'Priority support'。CTA 主要 'Start free'。'Business' — $48/席位/月(年付 $38.40)— 'For operations with audits in their future.' 行项:'Everything in Team';'Approvals & audit log';'Custom fields & exports';'SSO (SAML)';'Dedicated success manager'。CTA 次要 'Start free'。每张卡片 CTA 下方的总计行:'= $240/mo for 10 seats'(实时,Inter 500 13px Slate Ink)。每个价格都随切换器和滑块变化。
   布局:白色背景延续。三栏 24px 间距;推荐卡片上浮 6px,2px 靛蓝色描边,Indigo Mist 淡色填充,'Most popular' 标签固定在其上边缘。卡片结构:名称 Space Grotesk 700 18px,一句话描述 14px,价格数字 44px + '/seat' + 周期行,5 个勾选行 14px,CTA 全宽,总计说明。低于 900px:堆叠。
5. **信任条** — 一条 Mist 色带,三项带 Good 勾选:'14-day free trial — no card';'Cancel any time, self-serve, no call';'30-day money-back, no questions worth asking'。居中,Inter 500 14px。
   布局:全宽带,垂直内边距 28px,三个等宽项,图标与文字间距 16px,移动端换行。
6. **对比表格** — 区块 id='compare'。眉题 'Compare plans' 和 H2 'All sixteen rows, no asterisks.' 表格:吸顶表头行(第一个单元格为空,Starter、Team、Business——表头单元格实时显示各档位的价格/席位);16 行按细微分组标题分组('Scheduling'、'Time & attendance'、'Controls'、'Support'):1 'Unlimited schedules' ✓✓✓;2 'Shift swaps' — ✓ ✓;3 'Open shifts marketplace' — — ✓;4 'Time tracking' ✓ ✓ ✓;5 'Time-off & leave policies' — ✓ ✓;6 'GPS check-in' — — ✓;7 'Roles & permissions' — ✓ ✓;8 'Approval chains' — — ✓;9 'Audit log (1 year)' — — ✓;10 'Custom fields' — — ✓;11 'Exports (CSV, XLSX)' — ✓ ✓;12 'Calendar & payroll integrations' — ✓ ✓;13 'API access' — — ✓;14 'SSO (SAML)' — — ✓;15 'Email support' ✓ ✓ ✓;16 'Priority & success manager' — priority ✓ / manager:Team 为 'Priority',Business 为 'Dedicated'(文本单元格)。勾选为靛蓝色;短横线为真正的长破折号,Fog 色。
   布局:Mist 背景区块,表格在 White 12px 圆角 1px 细线边框上;表头行吸顶 top 76px;移动端第一列吸顶左侧,带 White/95% 阴影边缘;行高 44px,细线分隔,分组标题 36px,Inter 600 11px 大写 Slate Ink;Team 列带淡淡的 Indigo Mist/50% 色带。低于 640px:表格整体水平滚动(第一列吸顶)。
7. **企业版** — 区块 id='enterprise'。一个 Ink 面板(白色文字,16px 圆角):左侧,眉题 'Enterprise' 为 Indigo Mist 色调,H2 'Over 100 seats, or paperwork to satisfy.' 以及四条带 Good 圆点的条款行:'Volume pricing from seat 101';'SSO, SCIM and a signed DPA';'99.9% uptime SLA with credits';'Named human on support, not a queue'。右侧:深色背景上的主要按钮 'Talk to sales',为 mailto 到 sales@ + emailDomain(白色按钮,Ink 文字),配文 'We reply within one business day — usually faster than the demo you''ll book.'
   布局:白色背景,面板容器对齐,内部垂直内边距 56px,两栏 7/4 偏移 1,项目垂直居中。
8. **FAQ** — 区块 id='faq'。眉题 'Pricing FAQ' 和 H2 'The questions everyone asks.' 六个手风琴:1)'What counts as a seat?' — 'Anyone who logs in. Managers who only view schedules are free; we''d rather you invite the whole office than bill lurkers.' 2)'Can I change tiers mid-cycle?' — 'Yes, up or down. We prorate to the day and the difference lands on the next invoice.' 3)'What happens if I add seats?' — 'The slider above already told you: new seats are prorated from the day they join, not the first of the month.' 4)'Is there a free plan?' — 'A 14-day trial with everything, then Starter. We don''t do a crippled forever-free tier; support costs more than small accounts pay.' 5)'How does the annual discount work?' — 'Pay yearly, save 20%. It''s the same product — the discount is for the paperwork we skip.' 6)'What if we cancel?' — 'Self-serve, effective immediately, data exportable for 90 days. No retention scripts, no 'call to discuss'.'
   布局:Mist 背景,手风琴行在 White 1px 细线边框上,问题 Space Grotesk 500 17px,答案 Inter 15.5px / 1.7 最大宽度 66ch,右侧 Plus 图标。容器最大宽度 760px。
9. **CTA 带与页脚** — CTA:一个 White 色带,顶部 1px 细线边框:H2 'Fourteen days, no card, all features.' 以及主要 'Start free'(href '#')旁边次要 'Talk to sales'(mailto sales@ + emailDomain)。页脚:Ink/95% 背景,三栏:文字标识 + '[PRODUCT] — priced to be understood.';'Plans' 锚点(Plans、Compare、Enterprise、FAQ);'Write' hello@ + emailDomain 和 sales@ + emailDomain。底部行:'© [BRAND]. Prices in USD.'
   布局:CTA 带垂直内边距 72px 居中;页脚垂直内边距 56px,3 栏,底部行在 White/10% 细线下方。

## 资产
- icon:仅使用 lucide-react:Check、Minus、Plus、ArrowRight、Building2、ShieldCheck、Timer、RefreshCw、Users、CalendarDays、Lock。描边宽度 2,16–24px,颜色继承。public/favicon.svg 手写:viewBox 0 0 32 32,一个 32x32 的 rect,rx 8,填充 #4F46E5,一个白色日历条字形(一个带两个顶部缺口和三个白色圆点的圆角矩形)。没有其他 logo:产品名称始终以文字形式呈现。
- image:仅在代码中绘制——无照片、无图库素材、无外部图片。AppPanel 主视觉模型(周条、班次块、总计侧边栏、光标点)为内联 SVG,使用 Hairline 描边和 Indigo/Mist 填充;表格勾选、短横线、切换开关、滑块、标签和 favicon 均为 SVG/CSS。仍然编写 ASSETS.md,列出 lucide-react(ISC)、@fontsource-variable/space-grotesk 和 @fontsource-variable/inter(OFL-1.1),并注明“No image assets; all visuals drawn in SVG/CSS.”
- font:安装 @fontsource-variable/space-grotesk 和 @fontsource-variable/inter,并按 Setup 中所述在 src/fonts.ts 中导入它们。Vite 会将 woff2 文件打包进 dist/。

## 不要做
- 无后端、无表单提交、不向任何 API 发起 fetch 请求:切换开关、滑块和合计金额都是 src/lib/pricing.ts 中的纯客户端计算;CTA 是 href 链接(试用为 '#',销售为 mailto)。
- 一切资源自托管:字体通过 Fontsource,图标使用 npm 包或内联 SVG。不使用 CDN 的 <script> 或 <link> 标签,不使用 Google Fonts,不使用分析工具。
- 生产构建:压缩、无 source map、不将 src/ 复制进 dist/、单条命令 npm run build、输出在 dist/ 下且小于 5 MB。
- 不使用真实产品、定价页面或支付标识(不使用真实卡组织标志,不使用 Stripe/PayPal 徽章);每个档位名称、数字和功能行均为虚构。
- 任何地方都不出现日期或年份;网站永不显示当天日期。
- 除可选的页脚署名链接外,网站内绝不提及 VibeFather 或任何其他品牌;所有文案均为虚构的美式英语。
- 在所有地方尊重 prefers-reduced-motion:禁用计数、挤压、交错勾选绘制和滑动;保留颜色/边框/阴影的悬停效果。
- 页面必须在 1440x900 桌面端和 390x844 移动端正常工作且控制台零错误;滑块、切换开关和手风琴仅用键盘即可操作(方向键移动滑块),粘性表头绝不与粘性页头重叠,每个交互元素都有可见的焦点环。
- 文案保持具体:不用 lorem,不用 'flexible plans for every team';每个数字都源自 src/content.ts 中的 [BASE_PRICE]。

---
— Prompt by VibeFather · https://vibefather.ai/t/saas-pricing-page · CC BY-NC 4.0 (non-commercial; commercial use needs a VibeFather Pro license) · Request removal: https://vibefather.ai/takedown

个人项目可免费使用(CC BY-NC 4.0)。 商业用途需要 Pro.

DESIGN.md

单独的设计规范:配色、字体、间距和动效。可以把这套视觉用到你已有的项目上。

---
name: "SaaS Pricing Page"
colors:
  white: "#FFFFFF"
  mist: "#F5F6F8"
  fog: "#EBEDF1"
  ink: "#101319"
  slate_ink: "#565E6C"
  hairline: "#E1E4EA"
  indigo: "#4F46E5"
  indigo_deep: "#4338CA"
  indigo_mist: "#EEF2FF"
  good: "#0E9F6E"
typography:
  display_h1_h2_h3_tier_names_prices_in_large_sizes_the_wordmark: { family: "Space Grotesk", weights: [500, 700] }
  text_and_ui_body_eyebrows_buttons_nav_table_cells_faq_all_money_font_variant_numeric_tabular_nums: { family: "Inter", weights: [400, 500, 600] }
spacing: "8px base unit. Container max-width 1120px, centered, side padding 48px desktop, 32px tablet, 20px under 640px. 12-column grid, column gap 24px. Section vertical padding 96px desktop, 72px under 1024px, 56px under 640px — a utility page breathes less than a brochure. Type scale: H1 clamp(40px, 5.6vw, 72px) Space Grotesk 700, line-height 1.02, letter-spacing -0.02em; H2 clamp(28px, 3.6vw, 44px) Space Grotesk 700 letter-spacing -0.01em; H3 20px Space Grotesk 700; price figures Space Grotesk 700 44px with tabular-nums; lead Inter 400 17px / 1.65 Ink at 85%; body Inter 400 15.5px / 1.7 (max-width 66ch); eyebrow Inter 600 12px uppercase letter-spacing 0.14em Slate Ink; caption Inter 400 13px Slate Ink. Buttons: height 46px, padding 0 22px, Inter 600 14px. Primary: Indigo fill, White text. Secondary: 1px Ink/20% border, Ink text. Small buttons 34px. Inputs: not needed (no forms except mailto). Focus ring everywhere: 2px Indigo outline with 3px offset."
radius: "12px on cards, the toggle, the slider thumb, chips and the FAQ rows. 999px only for pills (badges, save chip) and the toggle track."
---

# SaaS Pricing Page — Design System

Apply this design system to an existing project. It describes the look and feel only; for the full site, use prompt.md.

## Colors
- **White** `#FFFFFF` — Page background, tier cards, table header.
- **Mist** `#F5F6F8` — Alternate section background (table, FAQ), input fill, chips.
- **Fog** `#EBEDF1` — Slider track, table row banding, disabled states.
- **Ink** `#101319` — Headlines, body text, table feature names, icon color.
- **Slate Ink** `#565E6C` — Secondary text, captions, eyebrows, per-seat lines.
- **Hairline** `#E1E4EA` — 1px hairlines, card borders, table grid lines.
- **Indigo** `#4F46E5` — The one accent: primary buttons, featured tier ring, toggle active, slider fill, checks, focus ring.
- **Indigo Deep** `#4338CA` — Primary hover and pressed, toggle active dark.
- **Indigo Mist** `#EEF2FF` — Featured tier wash, selected cells, the save-20% chip fill.
- **Good** `#0E9F6E` — The trust strip checks and the enterprise availability dot.

## Typography
- **Display: H1, H2, H3, tier names, prices in large sizes, the wordmark** — Space Grotesk (OFL), weights 500/700. Self-host the font files.
- **Text and UI: body, eyebrows, buttons, nav, table cells, FAQ, all money (font-variant-numeric tabular-nums)** — Inter (OFL), weights 400/500/600. Self-host the font files.

## Spacing & shape
- Spacing: 8px base unit. Container max-width 1120px, centered, side padding 48px desktop, 32px tablet, 20px under 640px. 12-column grid, column gap 24px. Section vertical padding 96px desktop, 72px under 1024px, 56px under 640px — a utility page breathes less than a brochure. Type scale: H1 clamp(40px, 5.6vw, 72px) Space Grotesk 700, line-height 1.02, letter-spacing -0.02em; H2 clamp(28px, 3.6vw, 44px) Space Grotesk 700 letter-spacing -0.01em; H3 20px Space Grotesk 700; price figures Space Grotesk 700 44px with tabular-nums; lead Inter 400 17px / 1.65 Ink at 85%; body Inter 400 15.5px / 1.7 (max-width 66ch); eyebrow Inter 600 12px uppercase letter-spacing 0.14em Slate Ink; caption Inter 400 13px Slate Ink. Buttons: height 46px, padding 0 22px, Inter 600 14px. Primary: Indigo fill, White text. Secondary: 1px Ink/20% border, Ink text. Small buttons 34px. Inputs: not needed (no forms except mailto). Focus ring everywhere: 2px Indigo outline with 3px offset.
- Radius: 12px on cards, the toggle, the slider thumb, chips and the FAQ rows. 999px only for pills (badges, save chip) and the toggle track.

## Motion
- Easing: --ease-out cubic-bezier(0.22, 0.61, 0.36, 1) for reveals and number changes; --ease-io cubic-bezier(0.65, 0, 0.35, 1) for the toggle and accordion. Precise, product-grade — small distances, quick settles.
- Reveal: blocks wrapped in <Reveal> start at opacity 0, translateY(12px) and animate to rest over 500ms --ease-out when 15% visible (Motion whileInView, viewport once). Siblings stagger by 60ms.
- Cycle toggle: the sliding thumb moves 200ms --ease-io with a slight scaleX squash; every price on the page counts to its new value over 400ms --ease-io (tabular-nums hold their width); the save-20% chip fades in only on annual.
- Seat slider: the thumb pops 1.0→1.1→1.0 on grab; the fill tracks instantly; totals count on release or step (200ms). The featured tier's total sits in a slightly larger figure that ticks once when it changes.
- Tier cards: hover lifts 3px with a hairline shadow; the featured card is permanently lifted 6px with a 2px Indigo ring and an Indigo Mist wash.
- Comparison table: the header row sticks under the page header (top 76px) with White/95% and blur; scrolling under it, the active tier's column carries a faint Indigo Mist band; check cells draw their check stroke once when scrolled into view (60ms stagger, disabled under reduced motion).
- FAQ accordions: height 0 to auto, opacity 0 to 1, 260ms --ease-io; Plus rotates 45 degrees into an X.
- Header: sticky from the top, White/90% with blur and a Hairline border always (no hero transparency — this is a utility page).
- Links: .link-draw grows a 1px currentColor underline over 250ms on hover and focus-visible.
- prefers-reduced-motion: reduce — disable counting (swap instantly), squash, draws and staggers; keep color/border/shadow hover changes. Use CSS @media in index.css plus Motion's useReducedMotion in components.

## Imagery
No photography at all — everything drawn in code. The hero's AppPanel is a small SVG product mock (a week strip with shift blocks, a totals sidebar and a cursor dot) using Hairline strokes, Indigo and Mist fills, strictly abstract UI geometry. Checks, dashes, slider, toggle, badges and the favicon are all SVG/CSS. Icons: lucide-react only, stroke width 2.

## Tone
Direct and a little dry, like a pricing page that respects the reader. Concrete numbers, no 'flexible plans for every team' filler, one tasteful joke maximum.

---
— Prompt by VibeFather · https://vibefather.ai/t/saas-pricing-page · CC BY-NC 4.0 (non-commercial; commercial use needs a VibeFather Pro license) · Request removal: https://vibefather.ai/takedown

改成你自己的

  • 现场服务软件创业公司:把 BRAND 设成你的产品,PRODUCT 设成工单排程与派工,BASE_PRICE 设成你的 Starter 坐席价格,并重写对比表中关于团队跟踪和开票的行。
  • 独立开发者发布时间追踪工具:把 BRAND 和 PRODUCT 设成你的应用,选择一个适合小团队的 SEAT_DEFAULT,并重写 FAQ 来回答计费和取消问题。
  • 团队排班 SaaS 创始人:保留按坐席结构,把 BASE_PRICE 设成你的 Starter 月费,并重写企业版区块来描述你的入门和支持条款。
  • B2B 分析创业公司:把 PRODUCT 设成分析与报表,调整 BASE_PRICE 和 SEAT_DEFAULT,并用你的数据限制、集成和导出功能替换对比表行。

SaaS 定价页:常见问题

SaaS 定价页上的坐席计算器是怎么工作的?

SaaS 定价页模板包含一个 1 到 100 坐席的滑块,起始值是你的 SEAT_DEFAULT。页面上的每个价格都从 BASE_PRICE 推导:Starter 是基础价,Team 是两倍,Business 是四倍,年付在每个档位再打 8 折。移动滑块会实时重算每档的总价和每坐席价格,访客能看到按自己团队人数算出的真实价格。

怎么用 AI 做一个SaaS 定价页?

复制本页的提示词,或者运行 npx vibefather add saas-pricing-page,把 [BRAND]、[PRODUCT]、[BASE_PRICE]、[SEAT_DEFAULT] 换成你自己的内容,再粘贴到 Claude Code、Codex、Cursor 等 AI 编程工具里。在线演示就是用这份提示词原样做出来的。

SaaS 定价页模板的演示是哪个 AI 模型做的?

演示由 GLM-5.3 在 ZCode 里完成;另一个案例由 DeepSeek V4.1 Flash 在 DeepSeek Harness 里完成。每次都用公开的提示词原样生成,没有额外补充,可以并排比较不同模型的效果。