跳到正文
VibeFather
免费注册

用这个模板做的 3 个案例

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

关于这个模板

Daybloom 是一个移动 App 的单页落地站点,围绕一个虚构的习惯追踪产品编写。它面向正在发布消费级 App 的人,希望页面本身就像产品:柔和、友好、带点俏皮。页面以暖奶油色为背景,飘浮着桃色、淡紫、薄荷和黄油色的渐变光斑,搭配大圆角卡片,强调色只用紫色,且仅用于操作按钮。核心亮点是一部完全用 CSS 绘制的手机,包含边框、摄像头药丸、状态栏和 Home 指示条,没有任何设备图片。在功能区块中,手机固定在文案旁边,屏幕会在四个应用内视图之间交叉淡入淡出(今日打卡、宽容的连续记录、每周图表和提醒流),随每个功能滚动经过而切换。在手机上,固定布局变为堆叠布局,每个步骤上方显示一个更小的手机。下方是一个可用的连续打卡日历。访客选择三个习惯之一,点击日期标记完成,实时查看当前连续天数、最长连续天数和完成圆环更新,达到里程碑时还会有一小簇彩点爆开。页面其余部分覆盖常规发布需求:习惯标签的缓慢跑马灯、六张用户评价卡片(用绘制的首字母头像代替照片或公司 Logo)、Free 和 Plus 定价(带可滑动的月付/年付切换)、简短 FAQ 和收尾的下载卡片。下载按钮是代码绘制的普通药丸按钮,不是应用商店徽章。所有内容都是代码绘制或来自 Lucide,因此无需追踪任何图片授权。要适配它,只需更改品牌、App 的用途、目标用户、四个示例习惯和 Plus 价格。布局、配色和动效保持不变,所以植物养护 App 或学习计时器也同样适用。

模板提示词

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

# Habit Tracker App Landing Page

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

## Brief
A single-page landing site for Dewly, an invented mobile habit-tracking app. Light and airy on a cream background with soft drifting pastel gradient blobs. The signature pieces: a phone mockup drawn entirely in CSS that stays sticky while its screen cross-fades between four in-app views as the visitor scrolls through the features, and an interactive streak calendar visitors can tap to see their streak, longest streak and completion ring update live. Also: a habit-chip marquee, testimonials with code-drawn initial avatars, Free / Plus pricing with a monthly-yearly switch, an FAQ and a download card with code-drawn download buttons.

- Audience: Busy people who keep restarting their routines and want a tracker that feels kind rather than strict.
- Goal: Get the visitor to download the app. Every primary button leads to the download section, and the interactive demos show how the app feels before they install it.
- Tone: Warm, encouraging and lightly playful. Short sentences, no guilt and no hustle language. Feels like a friend who remembers things for you.

## Stack
- Framework: Vite 5 + React 18 + TypeScript
- Styling: Tailwind CSS 3.4
- Libraries: react 18 (MIT), react-dom 18 (MIT), motion (import from motion/react) (MIT), lucide-react (ISC), @fontsource-variable/fraunces (OFL-1.1), @fontsource-variable/plus-jakarta-sans (OFL-1.1), tailwindcss 3.4 + postcss + autoprefixer (dev) (MIT), vite 5 + @vitejs/plugin-react (dev) (MIT), typescript (dev) (Apache-2.0)
- Build: `npm run build` → static files in `dist/`. No backend, no server code, no external APIs.
- Setup:
  - Scaffold with the Vite react-ts template; package.json scripts: dev = vite, build = tsc -b && vite build, preview = vite preview.
  - vite.config.ts: plugins [react()], base: './', build: { sourcemap: false, outDir: 'dist' }.
  - tailwind.config.ts: content ['./index.html', './src/**/*.{ts,tsx}']; extend colors with every token from Design > Colors using the names cream, ink, muted, line, peach, lilac, mint, butter, violet, violet-deep, coral, frame; extend fontFamily display: ['Fraunces Variable', 'Georgia', 'serif'] and sans: ['Plus Jakarta Sans Variable', 'system-ui', 'sans-serif'].
  - Define keyframes in tailwind.config.ts: drift (translate 0,0 → 40px,-30px → -30px,20px → 0,0 over 22s ease-in-out infinite), float (translateY 0 → -8px → 0 over 6s ease-in-out infinite), marquee (translateX 0 → -50% over 40s linear infinite) and marquee-reverse (translateX -50% → 0 over 40s linear infinite); expose them as animate-drift, animate-float, animate-marquee and animate-marquee-reverse.
  - In src/index.css add a @media (prefers-reduced-motion: reduce) block that sets animation: none on .animate-drift, .animate-float, .animate-marquee and .animate-marquee-reverse, and sets html { scroll-behavior: auto }. Otherwise html { scroll-behavior: smooth } with scroll-padding-top: 88px.
  - Import '@fontsource-variable/fraunces' and '@fontsource-variable/plus-jakarta-sans' at the top of src/main.tsx. Body uses font-sans, text-ink and bg-cream.
  - All copy, habit lists, calendar seed data, testimonials, prices and FAQ live in src/content.ts, keyed by section. Components only read from it.
  - Components in src/components/: Nav, Hero, PhoneFrame, screens/TodayScreen, screens/StreakScreen, screens/WeekScreen, screens/RemindersScreen, HabitMarquee, FeatureScroll, StreakDemo, Testimonials, Pricing, Faq, DownloadCta, Footer, Logo, DownloadButtons, BackgroundBlobs.
  - PhoneFrame takes a width prop (300 on desktop, 240 on mobile) and scales all inner dimensions proportionally with a CSS transform or a scale factor, keeping a 300:620 aspect ratio.
  - Use useReducedMotion() from motion/react in every component with JS-driven motion. When it returns true, skip entrance and float animations and swap screens instantly.
  - index.html: <title>Dewly — Tiny habits, kept gently</title> (brand from [BRAND]) and <link rel="icon" href="./favicon.svg" type="image/svg+xml">; put favicon.svg (the Logo mark) in public/.

## Variables
- [BRAND] — App name (default: "Dewly"). Short, invented, one word. Used in the nav wordmark, the title and the copy.
- [APP_PURPOSE] — What the app does, in one line (default: "a gentle habit tracker that celebrates small daily wins"). Drives the hero subhead, the feature copy and the in-phone screens.
- [AUDIENCE] — Who it is for (default: "busy people who keep restarting their routines"). Shapes the testimonials (roles), the FAQ and the tone of the reminders.
- [HABIT_EXAMPLES] — Four example items tracked in the app (default: "Drink water, Read 10 pages, Stretch, Walk outside"). Exactly four, comma-separated. They fill the Today screen, the first four marquee chips and the first three streak-demo chips. Pick a fitting Lucide icon for each.
- [PLUS_PRICE] — Paid plan price (default: "$4.99 a month or $35.99 a year"). Monthly and yearly prices. Compute the per-month yearly price and the savings percentage from them, rounded to whole percent.
- [CREDIT] — keep a small "Template by VibeFather" link to https://vibefather.ai/t/habit-tracker-app-landing-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.

Pro 模板

解锁完整提示词和源码

  • 完整提示词:设计、版块、动效、素材
  • 每个在线演示的源码
  • 商用授权

在线演示和 DESIGN.md 仍然免费。

$9/月起 · 年付和终身正在上线特惠

DESIGN.md

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

---
name: "Habit Tracker App Landing Page"
colors:
  cream: "#FFF8F3"
  ink: "#2B2340"
  muted: "#6E6585"
  line: "#EFE6F5"
  peach: "#FFC9B5"
  lilac: "#D9C8FF"
  mint: "#BDEBD8"
  butter: "#FFE9A8"
  violet: "#7C5CFF"
  violet_deep: "#5B3FE0"
  coral: "#FF7A59"
  white: "#FFFFFF"
  frame: "#1E1A2B"
typography:
  display_h1_h2_h3_big_numbers: { family: "Fraunces Variable", weights: [500, 600] }
  body_ui_buttons_and_in_phone_text: { family: "Plus Jakarta Sans Variable", weights: [400, 500, 600, 700] }
spacing: "8px base grid. Content container max-w-6xl (1152px), px-6 mobile / px-8 desktop. Sections py-20 on mobile and py-28 on desktop. Cards use p-6 mobile / p-8 desktop. h1 is 64px/1.05 on desktop and 42px/1.08 on mobile, Fraunces 600, tracking -0.02em. h2 is 48px/1.1 desktop and 34px mobile, Fraunces 600. h3 is 26px Fraunces 500. Body is 18px/1.6 desktop and 16px mobile. Eyebrows are 13px Plus Jakarta 600 uppercase with tracking 0.12em, violet, inside a white pill with a Line border (px-3 py-1)."
radius: "Cards 28px. Inner tiles and calendar cells 14px. Buttons, chips, toggles and eyebrow pills fully rounded (9999px). Phone frame 48px outer and 38px screen at 300px width, scaled proportionally."
---

# Habit Tracker App Landing 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
- **Cream** `#FFF8F3` — Page background and phone screen background
- **Ink** `#2B2340` — Headings, body text, primary download button fill
- **Muted** `#6E6585` — Secondary text, captions, disabled calendar numbers
- **Line** `#EFE6F5` — Card borders, dividers, calendar cell borders
- **Peach** `#FFC9B5` — Gradient blob, Stretch habit color, avatar fill
- **Lilac** `#D9C8FF` — Gradient blob, Read habit color, avatar fill
- **Mint** `#BDEBD8` — Gradient blob, Water habit color, avatar fill
- **Butter** `#FFE9A8` — Gradient blob, streak flame backdrop, avatar fill
- **Violet** `#7C5CFF` — Primary accent: CTAs, toggle pill, active dots, today ring, focus rings
- **Violet Deep** `#5B3FE0` — Hover and pressed state of violet elements
- **Coral** `#FF7A59` — Streak flame icon, savings badge, confetti dots, star ratings
- **White** `#FFFFFF` — Card surfaces, secondary download button, phone notification cards
- **Frame** `#1E1A2B` — CSS phone frame and camera pill

## Typography
- **Display (h1, h2, h3, big numbers)** — Fraunces Variable (OFL), weights 500/600. Self-host the font files.
- **Body, UI, buttons and in-phone text** — Plus Jakarta Sans Variable (OFL), weights 400/500/600/700. Self-host the font files.

## Spacing & shape
- Spacing: 8px base grid. Content container max-w-6xl (1152px), px-6 mobile / px-8 desktop. Sections py-20 on mobile and py-28 on desktop. Cards use p-6 mobile / p-8 desktop. h1 is 64px/1.05 on desktop and 42px/1.08 on mobile, Fraunces 600, tracking -0.02em. h2 is 48px/1.1 desktop and 34px mobile, Fraunces 600. h3 is 26px Fraunces 500. Body is 18px/1.6 desktop and 16px mobile. Eyebrows are 13px Plus Jakarta 600 uppercase with tracking 0.12em, violet, inside a white pill with a Line border (px-3 py-1).
- Radius: Cards 28px. Inner tiles and calendar cells 14px. Buttons, chips, toggles and eyebrow pills fully rounded (9999px). Phone frame 48px outer and 38px screen at 300px width, scaled proportionally.

## Motion
- Background blobs: four absolutely positioned circles (520–720px, filter blur(80px), opacity 0.7) in Peach, Lilac, Mint and Butter, each with animate-drift and a different animation-delay (0s, -6s, -11s, -16s). They sit behind content in a fixed, pointer-events-none layer.
- Section reveal: each section's header and cards fade from opacity 0, y 24 to opacity 1, y 0 over 0.6s with ease [0.22, 1, 0.36, 1] when 20% visible, once only. Card grids stagger children by 0.08s.
- Hero entrance on load: eyebrow, h1, subhead, buttons and rating row stagger in (0.1s apart, 0.7s each, y 20 → 0). The phone enters from y 60, rotate -4deg, opacity 0 to y 0, rotate -4deg, opacity 1 over 0.9s, then loops animate-float.
- Feature screens: when the active step changes, the outgoing screen fades out (opacity 1 → 0, 0.25s) and the incoming one fades in from opacity 0, y 12, scale 0.98 to opacity 1, y 0, scale 1 over 0.45s, using AnimatePresence with mode 'wait'. The blob behind the phone transitions background-color over 0.6s.
- Micro-interactions: buttons lift -2px with a stronger shadow on hover over 0.2s and scale to 0.97 on press. Calendar cells spring-scale to 1.12 and back on tap (stiffness 500, damping 20). The pricing toggle pill slides with a spring (stiffness 400, damping 30) using a shared layoutId.
- Prices swap with a vertical roll: the old number exits to y -12 with opacity 0 and the new one enters from y 12 over 0.3s.
- Milestone confetti: 12 small circles (6–8px) in Coral, Violet, Mint and Butter burst from the stats ring outward at random angles (40–90px), fading out over 0.8s.
- prefers-reduced-motion: no blob drift, no float, no marquee movement (the chips wrap as a static centered row), no confetti, no entrance transforms (content is visible immediately), and feature screens swap with no transition.

## Imagery
No photos or bitmaps. Everything is drawn in code: pastel blurred blobs in CSS, the phone and every in-app screen in HTML/CSS, the logo and favicon as inline SVG, avatars as colored circles with initials, icons from lucide-react, and the confetti as divs. A faint grain overlay (an inline SVG feTurbulence data URI, opacity 0.04, fixed, pointer-events-none) sits above the blobs.

## Tone
Warm, encouraging and lightly playful. Short sentences, no guilt and no hustle language. Feels like a friend who remembers things for you.

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

改成你自己的

  • 植物养护提醒 App:将 [BRAND] 设为你的 App,围绕浇水计划撰写 [APP_PURPOSE],并将 [HABIT_EXAMPLES] 换成喷雾、换盆和施肥。
  • 面向学生的学习计时器:将 [AUDIENCE] 设为备考季学生,把手机内屏幕改写为专注时段,并将 [HABIT_EXAMPLES] 改为每日复习块。
  • 独立开发者的首次发布:保留柔和配色,将 [PLUS_PRICE] 设为你的付费档位,并用 beta 测试者的角色重写用户评价。
  • 健康教练的伴侣 App:将 [AUDIENCE] 设为正在建立日常习惯的客户,将 [HABIT_EXAMPLES] 改为睡眠、运动和写日记,并将下载按钮指向你的 App。

习惯追踪 App 落地页:常见问题

习惯追踪 App 落地页里的 CSS 手机是如何在滚动时切换屏幕的?

习惯追踪 App 落地页将一部完全用 CSS 绘制的手机固定在功能文案旁边,屏幕会在四个应用内视图之间交叉淡入淡出,随每个功能滚动经过而切换:今日打卡、宽容的连续记录、每周图表和提醒流。在移动端,固定布局变为堆叠布局,每个步骤上方显示一个更小的手机。当访客偏好减少动效时,屏幕会立即切换而不是淡入淡出。

访客能在这个落地页上下载前先试用习惯追踪功能吗?

可以。习惯追踪 App 落地页包含一个可用的连续打卡日历。访客选择三个习惯之一,点击日期标记完成,当前连续天数、最长连续天数和完成圆环会实时更新,达到里程碑时还会有一小簇彩点爆开。这让用户在安装前就能感受 App,每个主要按钮都指向下载卡片。

要让这个 App 落地页适配另一个 App,我需要改什么?

习惯追踪 App 落地页由五个变量驱动:BRAND、APP_PURPOSE、AUDIENCE、HABIT_EXAMPLES 和 PLUS_PRICE。更改 App 名称、一句话描述 App 的用途、目标用户、四个示例习惯和付费方案价格,然后重写标题、功能文案、用户评价、FAQ 和提醒以匹配。布局、柔和配色和动效保持不变。

习惯追踪 App 落地页需要图片授权或应用商店徽章吗?

不需要。习惯追踪 App 落地页中的所有内容都是代码绘制或来自 Lucide,包括手机边框、摄像头药丸、状态栏、用户评价首字母头像和下载药丸按钮(它们是普通按钮而非应用商店徽章)。这意味着无需追踪图片授权,而且如果你更改品牌颜色,页面也能保持一致。

怎么用 AI 做一个习惯追踪 App 落地页?

复制本页的完整提示词(Pro),或者运行 npx vibefather add habit-tracker-app-landing-page,把 [BRAND]、[AUDIENCE]、[PLUS_PRICE]、[APP_PURPOSE] 换成你自己的内容,再粘贴到 Claude Code、Codex、Cursor 等 AI 编程工具里。在线演示就是用这份提示词原样做出来的。

习惯追踪 App 落地页模板的演示是哪个 AI 模型做的?

演示由 Claude Opus 5.5 在 Cursor 里完成;另一个案例由 Claude Opus 5.5 在 Cursor 里完成;另一个案例由 Gemini 4 Carbon 在 Cursor 里完成。每次都用公开的提示词原样生成,没有额外补充,可以并排比较不同模型的效果。