一家面包店可能卖光了最好的面包,却仍然没赚到利润。这个工作簿将销售和原料成本放在同一个文件里,让打烊的人能从一个数字追溯到它背后的数量和价格。打开销售表,前十二行产品已经填好。修改售出的面包数量,然后切换到汇总表,看看收入和毛利率发生了什么变化。
当你在网格中移动时,工作区会始终显示当前地址和公式。绿色轮廓标识选中的单元格,功能区上方一个黄油色的图表显示哪些产品贡献了最多的收入。输入时,公式栏会提示函数。在滚动前冻结表头,标记超过阈值的数字,或者选择一个区域并将其转换为折线图、柱状图或饼图。公式错误会在发生的位置保持可见,这使得排查损坏的引用更加容易。
起始文件也适用于销售其他产品的店铺。替换面包店名称和特色商品,导入带引号的 CSV,并为每列选择数字格式。销售、成本和汇总选项卡将输入和派生数字放在一起。工作簿的编辑内容在两次访问之间保留在浏览器中,CSV 导出为店主提供了一份可移植的表格副本。在手机上,账目在工作区内滚动,同时公式输入和表格切换仍然可访问。
在线演示就是用这份提示词原样做出来的,没有额外补充。其他案例只是改了 [VARIABLES] 变量的值。 提示词保持英文原版,国内常用的 AI 编程工具都能直接理解;下面附中文参考译文。
# Spreadsheet Web App Build this website exactly as described below. Replace the [VARIABLES] with your own values; keep everything else. ## Brief Build an editable spreadsheet for [BRAND] with a working three-sheet [WORKBOOK] file that opens on populated Sales data. - Audience: Bakery owners and small operators who track sales, ingredient costs and margins. - Goal: Follow any total to its source, change an input and immediately see dependent totals update. - Tone: Practical bookkeeping language. Use short US English labels. ## Stack - Framework: Vite + React - Styling: CSS - Libraries: React (MIT), Vite (MIT) - Build: `npm run build` → static files in `dist/`. No backend, no server code, no external APIs. - Setup: - Use a relative Vite base, a lockfile and a production build without source maps. - Place local persistence and file exchange behind a single adapter module. ## Variables - [BRAND] — Bakery name (default: "Alderfold Bakery"). Workbook owner shown in the rail. - [WORKBOOK] — Workbook title (default: "Bakery books"). Document heading. - [PRODUCT] — Featured product (default: "Sesame country loaf"). First item in Sales. - [CREDIT] — keep a small "Template by VibeFather" link to https://vibefather.ai/t/spreadsheet-web-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: "Spreadsheet Web App"
colors:
grid_white: "#FFFFFF"
ink: "#1F2328"
spreadsheet_green: "#1E8E3E"
butter: "#FFE8A3"
forest: "#123F2B"
typography:
workbook_title_ribbon_cells_and_tabular_numeric_totals: { family: "IBM Plex Sans", weights: [400, 500, 600, 700] }
spacing: "Rail 192px, desktop content gutters 24px. Header 68px, overview 108px, ribbon and formula bar 38px each. Grid cells 32px tall. Use 4/8/12/16/24px spacing."
radius: "Use 6px on buttons and 10px on the summary band. Square grid cells and chart bars."
---
# Spreadsheet Web 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
- **Grid white** `#FFFFFF` — Grid and working surface
- **Ink** `#1F2328` — Text and numerical labels
- **Spreadsheet green** `#1E8E3E` — Selection, header accents and chart bars
- **Butter** `#FFE8A3` — Overview chart background and highlighted totals
- **Forest** `#123F2B` — Rail wordmark and dark contrasting text on green-tinted headers
## Typography
- **Workbook title, ribbon, cells and tabular-numeric totals** — IBM Plex Sans (OFL), weights 400/500/600/700. Self-host the font files.
## Spacing & shape
- Spacing: Rail 192px, desktop content gutters 24px. Header 68px, overview 108px, ribbon and formula bar 38px each. Grid cells 32px tall. Use 4/8/12/16/24px spacing.
- Radius: Use 6px on buttons and 10px on the summary band. Square grid cells and chart bars.
## Motion
- Selection responds immediately. Open menus in 120ms; honor reduced motion.
## Imagery
Code-drawn ledger mark, outline icons, bars and selection chart; the populated sales sheet is the main visual.
## Tone
Practical bookkeeping language. Use short US English labels.
---
— Prompt by VibeFather · https://vibefather.ai/t/spreadsheet-web-app · CC BY-NC 4.0 (non-commercial; commercial use needs a VibeFather Pro license) · Request removal: https://vibefather.ai/takedown
电子表格 Web 应用模板使用三个变量。将 BRAND 设置为你的企业名称,它会作为工作簿所有者显示在侧边栏中。将 WORKBOOK 设置为你的文档标题,将 PRODUCT 设置为作为销售表第一行打开的精选商品。文案是为默认值编写的,因此请重写任何提及面包店的标题或标签。
复制本页的完整提示词(Pro),或者运行 npx vibefather add spreadsheet-web-app,把 [BRAND]、[PRODUCT]、[WORKBOOK] 换成你自己的内容,再粘贴到 Claude Code、Codex、Cursor 等 AI 编程工具里。在线演示就是用这份提示词原样做出来的。
演示由 GPT-6.2 Astra 在 Codex 里完成;另一个案例由 Gemini 4 Neon 在 Antigravity 里完成。每次都用公开的提示词原样生成,没有额外补充,可以并排比较不同模型的效果。