用这个模板做的 2 个案例
同一份提示词,不同的 [VARIABLES] 变量。点一个在上方预览。关于这个模板
全息集换卡展示是一个面向原创深海生物发光集换卡系列的收藏展示与预售体验,手感十足。每张卡牌都带有用代码绘制的专属分层矢量生物插画,并实时响应鼠标悬停、移动端触摸拖拽或设备方向,呈现平滑的 3D 透视倾斜、方向性高光反射和棱镜闪烁。六种全新编写的 CSS 光学箔面工艺——彩虹、银河、碎冰、蚀刻金、宇宙和反向——会随视角平滑改变色相与光泽,同时在启用 prefers-reduced-motion 时自动回退为平静的静态箔面渐变。访客可以在午夜主视觉区直接探索旗舰标本,通过分阶段的撕开 → 展开 → 翻转 → 稀有卡闪光流程拆开虚拟箔面补充包,抽到的卡牌会直接保存到 localStorage;可以按稀有度、栖息地类型和箔面工艺筛选收藏卡册;可以在放大的详情查看器中打开任意卡牌,查看生态数据和背景故事;可以组建一套 6 张卡的探险卡组,并查看实时协同数据;还可以在本地预留一个补充包整盒,无需任何实时结账。整体以午夜墨色(#0B0F2B)为底,由全息青色(#45F0FF)、品红(#FF4FD8)和金色(#FFC94D)点亮,从 1440px 桌面跨页到 390px 触屏都能干净适配。
模板提示词
在线演示就是用这份提示词原样做出来的,没有额外补充。其他案例只是改了 [VARIABLES] 变量的值。 提示词保持英文原版,国内常用的 AI 编程工具都能直接理解;下面附中文参考译文。
# Holographic Trading Card Showcase
Build this website exactly as described below. Replace the [VARIABLES] with your own values; keep everything else.
## Brief
Build an interactive 3D holographic foil trading card showcase and pre-order site for [BRAND] featuring the [SERIES_NAME] deep-sea creature collection ([PACK_COUNT] booster box at [BOX_PRICE]). Every card is illustrated in code with original SVG deep-sea creatures and tilts in 3D with 6 optical foil finishes (Rainbow, Galaxy, Cracked Ice, Etched Gold, Cosmos, Reverse). Includes an interactive Tear-Fan-Flip Pack Opening sequence with rare-card flash, a localStorage Collection Binder with filters, a Card Detail view with stats & lore, a 6-card Deck Builder, and a local Booster Box reservation form.
- Audience: Collectible card enthusiasts, tabletop creators, indie illustrators, and front-end designers showcasing 3D CSS optical shaders.
- Goal: Hook visitors immediately on the first screen with a live tiltable 3D holographic specimen hero and foil finish switcher, then invite them to rip packs, inspect cards, and build a deck.
- Tone: Wonder-filled oceanographic cabinet of curiosities—precise depth readouts, bioluminescent lore, and collector-grade print finish terminology.
## Stack
- Framework: Vite 6 + React 18 + TypeScript
- Styling: Tailwind CSS 4
- Libraries: lucide-react (ISC), @fontsource/syne (OFL-1.1), @fontsource/inter (OFL-1.1), @fontsource/jetbrains-mono (OFL-1.1)
- 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/syne (700, 800), @fontsource/inter (400, 500, 600), and @fontsource/jetbrains-mono (400, 500, 600) in src/main.tsx.
- Author all six holographic foil optical layers (rainbow, galaxy, cracked-ice, etched-gold, cosmos, reverse) from scratch in src/index.css using CSS custom properties (--rx, --ry, --px, --py) updated cleanly from pointer, touch, and optional DeviceOrientation events.
- Draw all 12 deep-sea creatures as distinct layered SVG compositions inside src/components/CreatureArt.tsx and seed stats, lore, rarity, habitat, and foil type in src/data/cardCatalog.ts.
- Persist owned collection counts, active 6-card deck, opened pack tally, and local booster-box reservation in localStorage.
## Variables
- [BRAND] — Publisher Name (default: "Abyssal Foil Press"). Fictional card publisher brand
- [SERIES_NAME] — Card Series Title (default: "Hadal Bloom: Series I"). Fictional deep-sea collectible set name
- [BOX_PRICE] — Booster Box Price (default: "$84"). Pre-order price for one booster box
- [PACK_COUNT] — Packs Per Box (default: "24 Foil Packs"). Pack count per booster box
- [CREDIT] — keep a small "Template by VibeFather" link to https://vibefather.ai/t/holographic-trading-card-showcase 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: "Holographic Trading Card Showcase"
colors:
midnight_trench: "#0B0F2B"
abyssal_panel: "#131940"
holo_cyan: "#45F0FF"
holo_magenta: "#FF4FD8"
etched_gold: "#FFC94D"
starlight_mist: "#F2F6FF"
typography:
display_series_headings: { family: "Syne", weights: [700, 800] }
body_lore_controls: { family: "Inter", weights: [400, 500, 600] }
card_numbers_depth_foil_codes: { family: "JetBrains Mono", weights: [400, 500, 600] }
spacing: "Showcase pacing: 64px sticky midnight header, 1240px max-width container, generous 64px section rhythm, tactile 2:2.8 collector card aspect ratio."
radius: "14px for physical trading cards with double inner foil frame; 10px for panels and buttons."
---
# Holographic Trading Card Showcase — 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
- **Midnight Trench** `#0B0F2B` — Primary deep-ocean page background
- **Abyssal Panel** `#131940` — Binder slots, pack stage, deck builder bar, and detail cards
- **Holo Cyan** `#45F0FF` — Primary bioluminescent accent, active tabs, and cyan foil refraction
- **Holo Magenta** `#FF4FD8` — Prismatic highlight, secret-rare badges, and rainbow foil shift
- **Etched Gold** `#FFC94D` — Mythic borders, foil stamping accents, and pre-order highlight
- **Starlight Mist** `#F2F6FF` — Primary high-contrast typography
## Typography
- **Display & Series Headings** — Syne (OFL), weights 700/800. Self-host the font files.
- **Body, Lore & Controls** — Inter (OFL), weights 400/500/600. Self-host the font files.
- **Card Numbers, Depth & Foil Codes** — JetBrains Mono (OFL), weights 400/500/600. Self-host the font files.
## Spacing & shape
- Spacing: Showcase pacing: 64px sticky midnight header, 1240px max-width container, generous 64px section rhythm, tactile 2:2.8 collector card aspect ratio.
- Radius: 14px for physical trading cards with double inner foil frame; 10px for panels and buttons.
## Motion
- Real-time 3D perspective card tilting (±16deg) tracking pointer or touch coordinates with smooth spring return on leave.
- Pack-opening choreography: metallic top-seal tear strip animation → 5-card fan spread → 3D Y-axis card flip → bright Cyan/Gold rare-card flash.
- Under prefers-reduced-motion, lock cards flat and render a static iridescent foil gradient without animation.
## Imagery
12 bespoke code-drawn layered SVG bioluminescent deep-sea creatures (Lumen Nautilus, Prism Siphonophore, Cinder Angler, Nebula Comb Jelly, Vortex Sea Angel, Gilded Vent Crab, Glass Squid Phantom, Opal Sea Dragon, Frost Isopod, Starlight Dumbo, Trench Ribbonfish, Velvet Sea Pen) paired with 6 original CSS optical foil layers.
## Tone
Wonder-filled oceanographic cabinet of curiosities—precise depth readouts, bioluminescent lore, and collector-grade print finish terminology.
---
— Prompt by VibeFather · https://vibefather.ai/t/holographic-trading-card-showcase · CC BY-NC 4.0 (non-commercial; commercial use needs a VibeFather Pro license) · Request removal: https://vibefather.ai/takedown
改成你自己的
- 独立插画师发布生物卡牌系列:把 [BRAND] 和 [SERIES_NAME] 设为你的系列,然后在卡牌目录中用你自己的生物替换十二张用代码绘制的深海 SVG 插画。
- 桌面游戏工作室预览收藏扩展包:为你的补充包整盒设置 [PACK_COUNT] 和 [BOX_PRICE],并重写卡牌背景故事和栖息地数据以匹配你的游戏世界。
- 卡牌店或爱好商店接受预留:保留补充包整盒预留表单,把 [BOX_PRICE] 设为你的预购价格,并把确认文案指向你的到店取货信息。
- 前端设计师展示 3D CSS 作品:保留六种箔面工艺和倾斜交互,把深海卡牌目录换成一组作品集标本卡,并把卡组构筑器用作精选亮点托盘。
全息集换卡展示:常见问题
全息集换卡展示模板包含哪些内容?
全息集换卡展示模板是一个单页收藏展示页,面向原创深海卡牌系列。它包含一张可 3D 倾斜的主视觉卡牌,带六种箔面工艺;一个带稀有卡闪光的拆包流程;一个可筛选、保存在 localStorage 中的收藏卡册;一个带背景故事和数据的卡牌详情查看器;一个六卡卡组构筑器;以及一个本地补充包整盒预留表单。全部十二种生物都以分层 SVG 插画的形式用代码绘制。
怎么用 AI 做一个全息集换卡展示?
复制本页的完整提示词(Pro),或者运行 npx vibefather add holographic-trading-card-showcase,把 [BRAND]、[BOX_PRICE]、[PACK_COUNT]、[SERIES_NAME] 换成你自己的内容,再粘贴到 Claude Code、Codex、Cursor 等 AI 编程工具里。在线演示就是用这份提示词原样做出来的。