这款餐饮市场点餐应用被设计成真正的三断点响应式社区外卖 PWA,没有任何装饰性手机边框,在手机上提供触感十足的原生式人体工学体验,在平板和桌面上则扩展为多列浏览网格并配有粘性购物车栏。温暖的奶油色表面与深浓咖啡色墨迹,衬托出诱人的藏红花橙色操作按钮和新鲜罗勒绿配送徽章,并以六道在一致暖日光下拍摄的、风格统一的影棚级社区菜品照片作为视觉锚点。在宽度小于 768 像素的移动屏幕上,固定的底部标签栏可在探索、搜索、订单和账户之间干净切换;点击任意菜品会打开一个向上滑出的定制底部弹层,食客可在其中选择份量、辣度和额外配料,并实时计算价格。购物者可以按菜系标签筛选虚构的社区厨房,浏览完整的餐厅菜单,在购物车抽屉中管理商品并使用可用的促销码模拟(WELCOME5),完成模拟结账流程,并通过实时动画订单追踪器查看餐品从已确认、烹饪中到骑手在途的进度,追踪器沿风格化的 SVG 社区路线图移动。所有活跃订单、购物车商品、保存的地址和收藏厨房都会自动持久化到 localStorage。在一个 TypeScript 数据文件中自定义市场名称、社区、促销码和配送费。
在线演示就是用这份提示词原样做出来的,没有额外补充。其他案例只是改了 [VARIABLES] 变量的值。 提示词保持英文原版,国内常用的 AI 编程工具都能直接理解;下面附中文参考译文。
# Food Delivery Mobile App
Build this website exactly as described below. Replace the [VARIABLES] with your own values; keep everything else.
## Brief
A responsive mobile-first neighborhood food delivery & takeout ordering PWA ([BRAND]) serving [NEIGHBORHOOD]. Mobile (<768px) features a bottom tab bar (Explore, Search, Orders, Account), slide-up dish customization bottom sheet, and floating cart pill; desktop expands into a sidebar + multi-column restaurant grid + sticky cart rail. No fake phone frame.
- Audience: Local diners ordering neighborhood meals on mobile or desktop, plus independent food marketplaces launching a branded ordering app.
- Goal: Deliver a fast, appetizing, end-to-end ordering experience from cuisine browsing and dish customization through promo checkout and animated courier map tracking.
- Tone: Warm, appetizing, neighborhood-friendly, fast, and clear.
## Stack
- Framework: Vite 5 + React 18 + TypeScript
- Styling: Tailwind CSS 3.4
- Libraries: lucide-react (ISC), @fontsource/fraunces (OFL), @fontsource/plus-jakarta-sans (OFL), @fontsource/ibm-plex-mono (OFL)
- Build: `npm run build` → static files in `dist/`. No backend, no server code, no external APIs.
- Setup:
- Set base: './' and build: { sourcemap: false } in vite.config.ts.
- Import @fontsource/fraunces (600, 700), @fontsource/plus-jakarta-sans (400, 500, 600, 700), and @fontsource/ibm-plex-mono (400, 500, 600) locally in src/main.tsx.
- Download all 6 cohesive culinary WebP images listed in Assets into public/images/ and reference via ./images/...
- Keep all fictional neighborhood kitchens, menu items, customization add-ons, and seeded past/active orders in src/data/marketplace.ts; persist cart, favorites, promo state, and orders in localStorage.
- Never wrap the interface in a fake phone bezel; use true responsive layouts (mobile bottom tabs + sheets <768px; desktop navigation + multi-column browse + sticky cart rail >=1024px).
## Variables
- [BRAND] — Marketplace app name (default: "SaffronRun"). Fictional local food delivery PWA name
- [NEIGHBORHOOD] — Delivery address / district (default: "Maple Quarter · 218 Cedar St"). Fictional delivery location header
- [PROMO_CODE] — Working promo code mock (default: "WELCOME5"). Applies $5 discount in cart drawer
- [USER_NAME] — Diner profile name (default: "Liam Ortiz"). Fictional account user name
- [DELIVERY_FEE] — Standard delivery fee (default: "$2.49"). Displayed on restaurant cards and cart summary
- [CREDIT] — keep a small "Template by VibeFather" link to https://vibefather.ai/t/food-delivery-mobile-app 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 仍然免费。
单独的设计规范:配色、字体、间距和动效。可以把这套视觉用到你已有的项目上。
---
name: "Food Delivery Mobile App"
colors:
warm_white: "#FFFDF9"
espresso_ink: "#1C1917"
saffron_orange: "#EA580C"
basil_green: "#16A34A"
warm_sand: "#F4EFE6"
stone_muted: "#78716C"
typography:
appetizing_editorial_display_headings: { family: "Fraunces", weights: [600, 700] }
menus_cards_and_controls: { family: "Plus Jakarta Sans", weights: [400, 500, 600, 700] }
prices_etas_promo_codes_and_order_ids: { family: "IBM Plex Mono", weights: [400, 500, 600] }
spacing: "Mobile (<768px) uses 16px horizontal padding with 84px bottom clearance above the fixed bottom tab bar and floating cart banner. Desktop (>=1024px) displays a clean top bar + 2-column kitchen grid alongside a 360px sticky right cart & live-order rail."
radius: "16px for dish cards and customization bottom sheets, 12px for menu rows and map cards, 999px for cuisine chips and ETA pills."
---
# Food Delivery Mobile App — 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
- **Warm White** `#FFFDF9` — Primary appetizing light canvas
- **Espresso Ink** `#1C1917` — Headlines, prices, and high-contrast cards
- **Saffron Orange** `#EA580C` — Primary order CTAs, active cuisine chips, courier pin, and promo highlights
- **Basil Green** `#16A34A` — Live ETA badges, verified ratings, promo applied state, and active delivery step
- **Warm Sand** `#F4EFE6` — Subtle input fills, chip backgrounds, and map blocks
- **Stone Muted** `#78716C` — Distance metadata, item descriptions, and secondary captions
## Typography
- **Appetizing editorial display headings** — Fraunces (OFL), weights 600/700. Self-host the font files.
- **Menus, cards, and controls** — Plus Jakarta Sans (OFL), weights 400/500/600/700. Self-host the font files.
- **Prices, ETAs, promo codes, and order IDs** — IBM Plex Mono (OFL), weights 400/500/600. Self-host the font files.
## Spacing & shape
- Spacing: Mobile (<768px) uses 16px horizontal padding with 84px bottom clearance above the fixed bottom tab bar and floating cart banner. Desktop (>=1024px) displays a clean top bar + 2-column kitchen grid alongside a 360px sticky right cart & live-order rail.
- Radius: 16px for dish cards and customization bottom sheets, 12px for menu rows and map cards, 999px for cuisine chips and ETA pills.
## Motion
- Smooth slide-up animation for the dish customization bottom sheet and mobile cart drawer.
- Live animated courier marker gliding along the stylized SVG neighborhood route in Orders view.
- Respects prefers-reduced-motion; all content visible immediately.
## Imagery
Six cohesive warm-daylight studio photographs of freshly plated neighborhood dishes shot on handmade stoneware and warm wood, with zero brand logos, zero text, and zero packaging labels.
## Tone
Warm, appetizing, neighborhood-friendly, fast, and clear.
---
— Prompt by VibeFather · https://vibefather.ai/t/food-delivery-mobile-app · CC BY-NC 4.0 (non-commercial; commercial use needs a VibeFather Pro license) · Request removal: https://vibefather.ai/takedown
外卖点餐移动应用模板将市场设置保存在一个 TypeScript 数据文件中。将 BRAND 设为你的应用名称,NEIGHBORHOOD 设为配送头部显示的街区,PROMO_CODE 设为应用购物车折扣的代码,DELIVERY_FEE 设为你的标准配送费,USER_NAME 设为账户中显示的食客资料。默认值分别为 SaffronRun、Maple Quarter · 218 Cedar St、WELCOME5、$2.49 和 Liam Ortiz。
复制本页的完整提示词(Pro),或者运行 npx vibefather add food-delivery-mobile-app,把 [BRAND]、[USER_NAME]、[PROMO_CODE]、[DELIVERY_FEE] 换成你自己的内容,再粘贴到 Claude Code、Codex、Cursor 等 AI 编程工具里。在线演示就是用这份提示词原样做出来的。