这是一个真正的三断点响应式社区外卖配送 PWA,没有任何装饰性手机边框,这个美食市场点餐应用在手机上提供触感原生的人体工学体验,同时在平板和桌面上扩展为带粘性购物车栏的多列浏览网格。温暖的奶油色表面和深浓缩咖啡色墨水勾勒出诱人的藏红花橙色操作按钮和新鲜罗勒绿色配送徽章,六张风格统一的棚拍社区菜品以一致的温暖日光拍摄作为视觉锚点。在 768 像素以下的移动屏幕上,固定的底部标签栏可在探索、搜索、订单和账户之间干净切换,点击任意菜品会打开一个上滑的定制底部面板,食客可在其中选择份量、辣度和额外配料,并实时计算价格。购物者可以按菜系标签筛选虚构的社区厨房,浏览完整的餐厅菜单,在购物车抽屉中管理商品并使用可用的促销码模拟(WELCOME5),完成模拟结账流程,并通过一个实时动画订单追踪器,沿着风格化的 SVG 社区路线地图,观察餐食从已确认、烹饪中到骑手在途的进度。所有活跃订单、购物车商品、已保存地址和收藏厨房都会自动持久化到 localStorage 中。在一个 TypeScript 数据文件中自定义市场名称、社区、促销码和配送费。
在线演示就是用这份提示词原样做出来的,没有额外补充。 提示词保持英文原版,国内常用的 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 数据文件中。你可以在那里设置品牌名称、页头显示的配送社区、可用的促销码、食客的个人资料名称和标准配送费。修改这些值并重写匹配的标题和标签,使文案仍然贴合,然后重新构建静态站点。
复制本页的完整提示词(Pro),或者运行 npx vibefather add food-delivery-mobile-app,把 变量 换成你自己的内容,再粘贴到 Claude Code、Codex、Cursor 等 AI 编程工具里。在线演示就是用这份提示词原样做出来的。