键盘的性格由一个个零件逐步塑造。这个交互式工作台让访客组装一把机械键盘,在双摄影棚灯光下旋转它,试打之后再下模拟订单。首屏展示一把完整的键盘。温暖的键区配上一颗橙色 Esc 键,为访客提供参照,帮助他们从紧凑配列切换到无数字区配列。
零件检查器把外壳工艺、定位板、轴体和键帽的选择留在物件旁边。色卡描述模型上实际使用的材质,每个选项旁标注价格差。侧视图展示定位板和球帽的轮廓。访客可以调出打字测试,试听线性轴、段落轴或 clicky 轴的声音。声音来自简短的合成包络。测试会统计实际输入文本中的词数和错误数。
配置可以保存在本机,也可以通过链接分享,让另一位访客还原同样的选择。对比表把两把键盘、各自价格和不同零件并排展示。一份分项列出的本地订单为体验收尾。键盘厂商可以在一处调整目录、材质定义和价格表。产品设计师可以用几何和工艺控件,探索同一小组零件在不同组合下呈现的效果。
在线演示就是用这份提示词原样做出来的,没有额外补充。其他案例只是改了 [VARIABLES] 变量的值。 提示词保持英文原版,国内常用的 AI 编程工具都能直接理解;下面附中文参考译文。
# Mechanical Keyboard Configurator Build this website exactly as described below. Replace the [VARIABLES] with your own values; keep everything else. ## Brief Build a fully interactive mechanical keyboard design studio for [BRAND]. The first frame shows the finished [BOARD] under soft studio lights. - Audience: Keyboard enthusiasts comparing layouts, acoustics and finishes. - Goal: Configure, try, save and compare a keyboard, then complete a mock order. - Tone: Precise industrial product photography translated into procedural geometry. Short, direct labels. ## Stack - Framework: React 19 + Vite - Styling: Vanilla CSS - Libraries: Three.js (MIT) - Build: `npm run build` → static files in `dist/`. No backend, no server code, no external APIs. - Setup: - Use a relative Vite base './'. Bundle fonts and scripts locally, minify, and disable source maps. - Keep all editable labels, sample content and product names in one content module. Put simulated services in one adapter file. - Use Three.js with physically based materials and local procedural lighting. A single catalog drives the renderer, sections, pricing and cart snapshots. ## Variables - [BRAND] — Keyboard studio (default: "Relay Capworks") - [BOARD] — Board family (default: "Relay One") - [COLORWAY] — Default keycap set (default: "Workshop Cream") - [CREDIT] — keep a small "Template by VibeFather" link to https://vibefather.ai/t/mechanical-keyboard-configurator 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: "Mechanical Keyboard Configurator"
colors:
graphite_studio: "#16171B"
warm_cream: "#F3E9D2"
signal_orange: "#FF6B35"
machined_teal: "#2EC4B6"
typography:
display_and_controls: { family: "Barlow", weights: [500, 600, 700] }
part_codes_and_prices: { family: "IBM Plex Mono", weights: [400, 500] }
spacing: "64px utility header. A centered 1440px-wide bench with a 2:1 stage/inspector split, 28px gutters, 20px panel padding and a bottom configuration strip. On phones the stage precedes a full-width inspector."
radius: "5px controls, 10px panels and 1px separators."
---
# Mechanical Keyboard Configurator — 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
- **Graphite studio** `#16171B` — Studio background and shell
- **Warm cream** `#F3E9D2` — Default alphas and high-contrast text
- **Signal orange** `#FF6B35` — Escape key, primary action with dark text, selected tab
- **Machined teal** `#2EC4B6` — Accent key, focus and saved state
## Typography
- **Display and controls** — Barlow (OFL), weights 500/600/700. Self-host the font files.
- **Part codes and prices** — IBM Plex Mono (OFL), weights 400/500. Self-host the font files.
## Spacing & shape
- Spacing: 64px utility header. A centered 1440px-wide bench with a 2:1 stage/inspector split, 28px gutters, 20px panel padding and a bottom configuration strip. On phones the stage precedes a full-width inspector.
- Radius: 5px controls, 10px panels and 1px separators.
## Motion
- Orbit by pointer or touch with damping and bounded zoom. Snap to front, top and perspective views.
- Depress keys on pointer hover and physical keystrokes, then release. Keep motion restrained under reduced motion.
## Imagery
Use an original code-drawn product model. Sculpt tapered caps with a slight top dish and row profiles. Print readable legends on cap tops via a shared canvas atlas. Add case bevels, feet, edges, a recessed plate, soft contact shadows and a bright seam against the graphite ground.
## Tone
Precise industrial product photography translated into procedural geometry. Short, direct labels.
---
— Prompt by VibeFather · https://vibefather.ai/t/mechanical-keyboard-configurator · CC BY-NC 4.0 (non-commercial; commercial use needs a VibeFather Pro license) · Request removal: https://vibefather.ai/takedown
打字测试在你打字时播放简短的合成包络,模拟线性轴、段落轴或 clicky 轴的声音。它会统计你实际输入文本中的词数和错误数,因此结果反映的是你在所选轴体上的真实打字表现。声音在浏览器本地生成,并非从录音采样,并且跟随你在零件检查器中选择的轴体。
复制本页的完整提示词(Pro),或者运行 npx vibefather add mechanical-keyboard-configurator,把 [BOARD]、[BRAND]、[COLORWAY] 换成你自己的内容,再粘贴到 Claude Code、Codex、Cursor 等 AI 编程工具里。在线演示就是用这份提示词原样做出来的。