关于这个模板
一家面包店可能卖光了最好的面包,却仍然没达到利润率。这个工作簿把销售和原料成本放进同一个文件,让关店的人能从一个数字追溯到它背后的数量和价格。打开销售表,前十二行产品已经填好。改一下售出的面包数量,再切到汇总表看看收入和毛利率发生了什么变化。
工作区在你浏览网格时始终显示当前地址和公式。绿色轮廓标出选中的单元格,功能区上方一张黄油色的图表显示哪些产品贡献了最多收入。输入时公式栏会提示函数。可以在滚动前冻结表头,标记超过阈值的数字,或者选中一个区域把它变成折线图、柱状图或饼图。公式错误会在出错的位置保持可见,这样更容易排查失效的引用。
起始文件也适用于销售其他产品的店铺。替换面包店名称和主打商品,导入带引号的 CSV,并为每一列选择数字格式。销售、成本和汇总标签页把输入和派生数字放在一起。工作簿的编辑会在两次访问之间保留在浏览器里,CSV 导出让店主拿到一份可携带的工作表副本。在手机上,账目在工作区内滚动,而公式输入和表切换仍然可用。
模板提示词
在线演示就是用这份提示词原样做出来的,没有额外补充。 提示词保持英文原版,国内常用的 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 仍然免费。
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
改成你自己的
- 一家追踪生豆成本的咖啡烘焙商:把 BRAND 和 WORKBOOK 设为烘焙坊,把销售表里的面包行换成你的烘焙配方,并把每袋价格链接到成本表。
- 一个卖果酱的市场摊位:把 PRODUCT 设为你最畅销的果酱罐,把十二行示例销售换成你的产品系列,并标记任何毛利率低于你阈值的果酱罐。
- 一个小型陶瓷工作室:把工作表重命名为釉料和烧制,导入窑炉批次的带引号 CSV,并在汇总标签页按作品绘制收入图表。
- 一个为客户搭建工具的记账员:保留三表结构,把 BRAND 设为客户的业务,并把每个完成的工作表导出为 CSV 给他们的会计。
电子表格 Web 应用:常见问题
在电子表格 Web 应用模板里我实际能做哪些操作?
电子表格 Web 应用模板打开一个可用的三工作表工作簿:销售、成本和汇总。你可以修改售出的面包数量,在汇总表上看到收入和毛利率更新,冻结表头,标记超过阈值的数字,并选中一个区域把它变成折线图、柱状图或饼图。输入时公式栏会提示函数,公式错误会在出错的位置保持可见。
怎么把面包店工作簿改成我自己店铺或产品的电子表格?
把 BRAND 设为你的店铺名称,WORKBOOK 设为文档上想要的标题,PRODUCT 设为主打商品,它会成为销售表的第一行。然后改写标题、标签和示例数字以匹配你的产品,导入你自己行的带引号 CSV,并为每一列选择数字格式。销售、成本和汇总标签页把输入和派生数字放在一起。
怎么用 AI 做一个电子表格 Web 应用?
复制本页的完整提示词(Pro),或者运行 npx vibefather add spreadsheet-web-app,把 [BRAND]、[PRODUCT]、[WORKBOOK] 换成你自己的内容,再粘贴到 Claude Code、Codex、Cursor 等 AI 编程工具里。在线演示就是用这份提示词原样做出来的。
电子表格 Web 应用模板的演示是哪个 AI 模型做的?
演示由 Gemini 4 Neon 在 Antigravity 里完成。每次都用公开的提示词原样生成,没有额外补充。