GoodCase.aiAI 动态 · Radar↗图谱 · AI Map↗课程 · LearnPrompt↗
出品GoodCase.aiAI News Radar ↗AI Map ↗LearnPrompt ↗
GoodCase.aiGoodCase.aiAI提示语案例合集
GoodCase.ai
排行榜案例Skills收藏投稿早报加入我们
中文EN
Agent 接入 →

出品

AI 动态 · Radar ↗图谱 · AI Map ↗课程 · LearnPrompt ↗
GoodCase.aiGoodCase.aiAI提示语案例合集
排行榜案例Skills收藏投稿早报加入我们
中文EN
Agent 接入 →

加载中…

GoodCase.ai · AI提示语案例合集
DSH 插件榜更新日志反馈
模型创作者Seedance 2.5Seedance 2.0GPT Image 2GeminiNano Banana ProClaudeClaude Opus 5.5Grok ImagineVeoKling 可灵Qwen ImageGPT Image 1.5MiniMax H3

太空旅行全屏动画 Hero

创作者 · viktoroddy

AI 编程(UI)X收录 2026/07/28已有人复测#web#human-reviewed
更多标签 (4)
#web-ui#motion-3dReact · Vite · TypeScriptGPT-5.6 Sol
查看原始来源 ↗
原帖 ♥ 39

Prompt

复刻提示词保留原文,另附运行环境、素材与验收要求;附加说明不是原作者原话。

无限量的动画 AI Hero ——

这是我使用的确切提示词:

用 React、Vite、TypeScript、Tailwind CSS 和 motion/react(Framer Motion)库为一个太空旅行网站构建一个全屏电影感 Hero 区域。严格按照下面的每一处细节还原。

1. 字体

从 Google Fonts 引入 Instrument Serif(斜体)和 Barlow(300、400、500、600 字重):
@import url('');
在 tailwind.config.ts 中注册:
fontFamily: {
heading: ["'Instrument Serif'", "serif"],
body: ["'Barlow'", "sans-serif"],
}
设置 --radius: 9999px 以实现完全圆角元素。使用基于 HSL 的色彩系统,其中 --background: 213 45% 67%(柔和天空蓝),--foreground: 0 0% 100%(白色)。

2. 背景视频

使用一个全屏 <video> 元素,定位为 absolute inset-0,配 object-cover、z-0,并带以下属性:autoPlay loop muted playsInline preload="auto"。

视频 URL:

海报图片:/images/hero_bg.jpeg

叠加层:一个 div,absolute inset-0 bg-black/5 z-0,位于视频之上。

在 index.html 的 <head> 中添加预加载提示:

<link rel="preload" as="image" href="/images/hero_bg.jpeg" type="image/jpeg" />
<link rel="preload" as="video" href="" type="video/mp4" />

3. 液态玻璃 CSS

在 index.css 的 @layer components 下定义两个工具类:

.liquid-glass(轻量):

.liquid-glass {
background: rgba(255, 255, 255, 0.01);
background-blend-mode: luminosity;
backdrop-filter: blur(4px);
-webkit-backdrop-filter: blur(4px);
border: none;
box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.1);
position: relative;
overflow: hidden;
}
.liquid-glass::before {
content: '';
position: absolute;
inset: 0;
border-radius: inherit;
padding: 1.4px;
background: linear-gradient(180deg,
rgba(255,255,255,0.45) 0%, rgba(255,255,255,0.15) 20%,
rgba(255,255,255,0) 40%, rgba(255,255,255,0) 60%,
rgba(255,255,255,0.15) 80%, rgba(255,255,255,0.45) 100%);
-webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
-webkit-mask-composite: xor;
mask-composite: exclude;
pointer-events: none;
}

.liquid-glass-strong(加强版,用于 CTA 按钮):

.liquid-glass-strong {
background: rgba(255, 255, 255, 0.01);
background-blend-mode: luminosity;
backdrop-filter: blur(50px);
-webkit-backdrop-filter: blur(50px);
border: none;
box-shadow: 4px 4px 4px rgba(0,0,0,0.05), inset 0 1px 1px rgba(255,255,255,0.15);
position: relative;
overflow: hidden;
}

与 .liquid-glass 相同的 ::before 伪元素,但透明度值改为 0.5 和 0.2,而不是 0.45 和 0.15。

4. 导航栏

固定定位:fixed top-4 left-0 right-0 z-50,配 px-8 lg:px-16。包含:

左侧:一个 Logo 图片(h-12 w-12)。

中间(仅桌面端):一个液态玻璃圆角药丸容器,内含导航链接:「Home」「Voyages」「Worlds」「Innovation」「Plan Launch」——每个都是 px-3 py-2 text-sm font-medium text-foreground/90 font-body。

药丸内最后一项:一个纯白色按钮 bg-white text-black rounded-full px-3.5 py-1.5 text-sm font-medium font-body,文字为「Claim a Spot」,配一个 ArrowUpRight 图标(lucide-react,h-4 w-4)。

5. Hero 内容(居中)

外层容器:flex-1 flex flex-col items-center justify-center text-center px-4 pt-24。

a) 徽标:
一个液态玻璃圆角 px-1 py-1 容器,内含:

一个纯白色药丸:bg-white text-black rounded-full px-3 py-1 text-xs font-semibold font-body,文字为「New」。

相邻文字:text-sm text-foreground/90 pr-3 font-body —— 「Maiden Crewed Voyage to Mars Arrives 2026」。

底部外边距 mb-2。

b) 标题:
使用一个自定义的 BlurText 组件(逐词从下方模糊显现动画)。属性:

text="Venture Past Our Sky Across the Universe"
className="text-6xl md:text-7xl lg:text-[5.5rem] font-heading italic text-foreground leading-[0.8] max-w-2xl justify-center tracking-[-4px]"
delay={100}
animateBy="words"
direction="bottom"

BlurText 组件按词拆分文字,使用 IntersectionObserver 触发,并用 motion.span 让每个词从 {filter: 'blur(10px)', opacity: 0, y: 50} 经过 {filter: 'blur(5px)', opacity: 0.5, y: -5} 动画到 {filter: 'blur(0px)', opacity: 1, y: 0},stepDuration: 0.35,每个词错开 100ms 延迟。

c) 副标题:
一个 motion.p,类名为 mt-1 text-sm md:text-base text-white max-w-2xl font-body font-light leading-tight。文字:「Discover the universe in ways once unimaginable. Our pioneering vessels and breakthrough engineering bring deep-space exploration within reach—secure and extraordinary.」
动画:initial={{ filter: 'blur(10px)', opacity: 0, y: 20 }} → animate={{ filter: 'blur(0px)', opacity: 1, y: 0 }},duration: 0.6,delay: 0.8。

d) CTA 按钮:
一个 motion.div,flex items-center gap-6 mt-4,使用相同的模糊显现动画,delay: 1.1。
主按钮:liquid-glass-strong rounded-full px-5 py-2.5 text-sm font-medium text-foreground font-body —— 「Start Your Voyage」加 ArrowUpRight 图标(h-5 w-5)。
次按钮:纯文字按钮 —— 「View Liftoff」加 Play 图标(h-4 w-4 fill-current)。

6. 合作伙伴条(底部)

定位在底部:flex flex-col items-center gap-4 pb-8。
一个液态玻璃圆角 px-3.5 py-1 text-xs font-medium text-white font-body 标签:「Collaborating with top aerospace pioneers globally」。
一排 5 个合作伙伴名称:「Aeon」「Vela」「Apex」「Orbit」「Zeno」——每个样式为 text-2xl md:text-3xl font-heading italic text-white tracking-tight,间距 gap-12 md:gap-16。

7. Z-Index 层级
视频加叠加层:z-0
所有内容(导航栏、Hero、合作伙伴):包裹在一个 relative z-10 容器中。
导航栏:z-50。
≡溯源 · 已核对已发布案例的 prompt 均经人工核对与原帖一致;平台逆向重构的 prompt 不予收录。核对原帖 ↗

适用模型与稳定度

建议模型

React · Vite · TypeScriptGPT-5.6 Sol
稳定度
79 / 100
成本
中
对应 Skill3D / 动效 Hero ↗网页区块像素复刻 ↗

独立复测证据

同一段 Prompt,在我们的测试里实际生成了什么。

复测生成 · 非作者原作
UI生成证据AI 自动评分

gpt-5.6-sol

2026年8月9日

复测分80.9
桌面截图模型生成 UI 的桌面截图手机截图模型生成 UI 的手机截图
下载生成 HTML ↓
claude-sonnet-5 · 75.2gpt-5.6-sol · 86.6分歧 · 11.4
  • 与建议模型同族(React · Vite · TypeScript / GPT-5.6 Sol)。作者在 Prompt 之外用了哪些参数,我们不知道。
  • 复测分是两个 AI 裁判对这一次生成各自打分(0–100)后的均分;没有经过人工判定,也不能当成功率看。

多人复现

1 个人用同一段 Prompt 跑出了自己的作品。

复现作品 · 非作者原作
卡尔
复现者卡尔
2026年10月15日
卡尔 的复现作品打开复现作品 ↗
glm-5.3

GLM-5.3 单次生成;Codex 人工修复运行依赖、必要源码及移动布局,未重新生成。桌面/手机真实渲染和资源检查通过;完整功能与视觉还原尚未全部验收。源码、截图和修复记录见复现出处。

复现出处 ↗

继续探索

继续看相关 Case。

查看全部 AI 编程(UI) Case →
Claude Mythos:Lithos 地质品牌 Hero
AI 编程(UI)X收录 2026/07/28

Claude Mythos:Lithos 地质品牌 Hero

@viktoroddy 使用 Claude Mythos完成的网页案例,包含公开结果、完整 Prompt 与原始来源。

Skill · 3D / 动效 HeroSkill · 个人作品集叙事

提示语

❤️‍🔥 一键获取所有令人惊艳的动效网站提示词: http:// 用 React 18 + TypeScript + Vite + Tailwind CSS 和 lucide-react 图标,为一个名为 Lithos 的地质品牌构建一个全屏深色主题 Hero 区域。招牌功能是一个跟随光标的聚光灯效果,通过一个柔和的圆形遮罩,在底图之上揭示出第二张图片。请精确匹配以下每一处细节。 ### 字体 在 `src/index.css` 顶部加入以下内容,然后写 `@tailw

来源热度 · X
61
稳定度
76
查看 Case →
Nano Banana + Kling + Claude 电影感 Hero
AI 编程(UI)X收录 2026/07/28

Nano Banana + Kling + Claude 电影感 Hero

@viktoroddy 使用 Nano Banana · Kling · Claude完成的网页案例,包含公开结果、完整 Prompt 与原始来源。

Skill · 3D / 动效 HeroSkill · 网页区块像素复刻

提示语

一键获取所有令人惊艳动效网站的提示词: 提示词:电影感 Hero 区域,带循环视频背景 用 React + Vite + Tailwind CSS + TypeScript 创建一个全屏单页 Hero 区域,具体规格如下: 字体: 展示文字(标题、Logo):Instrument Serif 正文(导航、描述):Inter 在 /src/styles/fonts.css 中引入这两种字体 视频背景: URL: 位置:`top: '300px'`,`inset: 'au

来源热度 · X
97
稳定度
66
查看 Case →
Grok Imagine + Grok Build:Veldara Hero
AI 编程(UI)X收录 2026/07/28

Grok Imagine + Grok Build:Veldara Hero

@viktoroddy 使用 Grok Imagine · Grok Build完成的网页案例,包含公开结果、完整 Prompt 与原始来源。

Skill · 3D / 动效 HeroSkill · 网页区块像素复刻

提示语

❤️‍🔥 一键获取令人惊艳动效网站的完整提示词: 用 React、Tailwind CSS 和 Lucide React 图标为一个名为「Veldara」的产品创建一个全视口 Hero 区域。页面应是单屏落地页,不需要滚动。 > **视频背景:** > - 使用这个确切的视频 URL,不要替换成任何其他地址:`` > - 视频容器为 `position: absolute; inset: 0; z-index: 0`(不是负 z-index,也不是 fixed),作为根

来源热度 · X
74
稳定度
70
查看 Case →

同作者

同作者更多 · viktoroddy →

  • Gemini vs Claude:Velorah 电动房车落地页AI 编程(UI) · Gemini · Claude · 2026-07-28
  • Nano Banana + Veo 3 + Lovable 动效站AI 编程(UI) · Lovable · Nano Banana · Veo 3 · 2026-07-28
  • Google Stitch 对比 Claude 网页生成AI 编程(UI) · Google Stitch · Claude · 2026-07-28
  • AntiGravity + Gemini 3.1 落地页AI 编程(UI) · AntiGravity · Gemini 3.1 Pro · 2026-07-28
  • Nano Banana + Flow + AntiGravity 动效网站AI 编程(UI) · Nano Banana · Flow · AntiGravity · 2026-07-28
  • Gemini 3.1 一次生成动效网站AI 编程(UI) · Gemini 3.1 · 2026-07-28

Case 详情页把原帖效果、Prompt 与复测证据放在同一条阅读路径里。