跳到正文
VibeFather
免费注册

关于这个模板

键盘的性格是一个组件一个组件地塑造出来的。这个交互式工作台让访客组装一把机械键盘,在双摄影棚灯光下旋转它,并在下单模拟前试打。首屏展示一把完整的键盘。暖色键区和一颗橙色 Esc 键为访客提供参照,帮助他们从紧凑布局切换到无数字区布局。

部件检查器把表面处理、定位板、轴体和键帽的选择留在模型旁边。色卡展示模型上的实际材质,每个选项旁标注价格差异。侧视图展示定位板和雕塑键帽的轮廓。访客可以调出打字测试,聆听线性、段落或咔嗒轴体的声音。声音来自短促的合成包络。测试会统计实际输入文本中的字数和错误数。

一套配置可以保存在设备上,或通过链接分享,让另一位访客重建相同的选择。对比表把两把键盘、它们的价格和不同部件并排展示。逐项列出的本地订单为体验收尾。键盘厂商可以在一处调整产品目录、材质定义和价格表。产品设计师可以用几何和表面处理控件,探索同一小组部件在不同组合下的效果。

模板提示词

在线演示就是用这份提示词原样做出来的,没有额外补充。 提示词保持英文原版,国内常用的 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 仍然免费。

$9/月起 · 年付和终身正在黑五特惠

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

改成你自己的

  • 定制键帽工作室:将 BRAND 设为你的工坊,把配色色卡换成你的材质系列,并重写每个选项旁的价格差异。
  • 轴体零售商:用你的库存替换轴体选项,保留打字测试,让声音包络来推销线性、段落和咔嗒轴体套装。
  • 产品设计作品集:用几何和表面处理控件展示同一外壳的多种组合,并把订单表变成规格摘要。
  • 团购组织者:将 BOARD 设为即将推出的键盘,保留分享配置链接和对比表,让买家在参团前对比布局。

机械键盘配置器:常见问题

如何在这个模板中更改键盘品牌、键盘名称和默认键帽配色?

机械键盘配置器模板使用三个变量:BRAND、BOARD 和 COLORWAY。将 BRAND 设为你的工作室名称,BOARD 设为你的键盘系列,COLORWAY 设为默认键帽配色,然后重写所有提及默认值的标题、标签和段落,使文案与你的值一致。产品目录、材质定义和价格表放在同一个内容模块中,因此新增键盘系列会同时更新渲染器、各个区块和订单快照。

怎么用 AI 做一个机械键盘配置器?

复制本页的完整提示词(Pro),或者运行 npx vibefather add mechanical-keyboard-configurator,把 [BOARD]、[BRAND]、[COLORWAY] 换成你自己的内容,再粘贴到 Claude Code、Codex、Cursor 等 AI 编程工具里。在线演示就是用这份提示词原样做出来的。