用这个模板做的 2 个案例
同一份提示词,不同的 [VARIABLES] 变量。点一个在上方预览。关于这个模板
一个精致的深色画廊,收录 30 个为落地页和现代 Web 应用打造的原创动画 UI 组件。探索磁性按钮、聚光灯卡片、文字乱序、逐字揭示、动态图标光束、无限 Logo 跑马灯、锥形渐变边框、放大 Dock、数字滚动器、3D 倾斜卡片、光标拖尾、涟漪和彩带按钮、滚动堆叠卡片、动态标签页、极光背景、发光网格、变形胶囊 Toast、打字机终端、图片对比滑块,以及另外 11 个手工打磨的微交互。实时调节速度、强度和强调色(默认电光紫 #7C5CFF),切换明/暗色预览表面,复制干净的 React + Tailwind 代码片段或可直接粘贴的 AI 提示词,并通过 ⌘K 命令面板跳转到任意位置。
模板提示词
在线演示就是用这份提示词原样做出来的,没有额外补充。其他案例只是改了 [VARIABLES] 变量的值。 提示词保持英文原版,国内常用的 AI 编程工具都能直接理解;下面附中文参考译文。
# Animated UI Components Gallery
Build this website exactly as described below. Replace the [VARIABLES] with your own values; keep everything else.
## Brief
Build a sleek dark Pro gallery of 30 original animated UI components titled [BRAND] with subheadline [TAGLINE] and live visitor-changeable accent color defaulting to [DEFAULT_ACCENT] (#7C5CFF) on a near-black (#0A0A0B) and neutral-grey studio canvas. Include all 30 working interactive demos written from scratch: Magnetic Button, Spotlight Card, Text Scramble, Split-Letter Reveal, Animated Icon Beams, Infinite Logo Marquee, Conic Gradient Border, Magnifying Dock, Number Ticker, 3D Tilt Card, Cursor Trail Pad, Ripple & Confetti Button, Scroll-Stacking Cards, Animated Sliding Tabs, Aurora Mesh Background, Glowing Interactive Grid, Morphing Pill Toast, Typewriter Terminal, Image Comparison Slider, Shimmer Skeleton Loader, Hold-to-Confirm Button, Floating Badge Orbit, Elastic Toggle Switch, Flip-Clock Countdown, Pulse Radar Ping, Accordion Smooth Reveal, Radial Command Wheel, Live Audio Bars Meter, Kinetic Pricing Toggle, and Holographic Foil Chip. Provide a featured live Workbench with Speed (0.5×–2.5×), Intensity (20%–100%), and Accent sliders, Light/Dark preview surface toggle, copyable React + Tailwind snippet tab, one-click 'Copy as Prompt' button, search bar, 6 category filters, and a keyboard-accessible ⌘K command palette.
- Audience: Frontend developers, design engineers, and indie builders hunting for polished drop-in landing-page micro-interactions.
- Goal: Let visitors play with live tactile animations on frame one, customize speed/color/intensity on the fly, and copy production React + Tailwind code or AI prompts in one click.
- Tone: Razor-sharp developer studio—restrained near-black chrome letting every glowing interactive component steal the spotlight.
## Stack
- Framework: Vite 6 + React 18 + TypeScript
- Styling: Tailwind CSS 4
- Libraries: lucide-react (ISC), @fontsource/space-grotesk (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/space-grotesk (500, 600, 700), @fontsource/inter (400, 500, 600), and @fontsource/jetbrains-mono (400, 500, 600) in src/main.tsx.
- Author metadata, categories, clean React + Tailwind copyable snippets, and 'Copy as Prompt' specs for all 30 components in src/data/componentsCatalog.ts.
- Implement all 30 genuine interactive component previews in src/components/LiveDemos.tsx driven dynamically by accentColor, speed, intensity, and surfaceTheme ('dark' | 'light') props.
- Build the sticky header with live accent color swatches + custom picker, featured interactive Workbench, 30-card live gallery grid, and ⌘K keyboard command palette modal in src/App.tsx.
## Variables
- [BRAND] — Gallery Name (default: "KineticKit"). Animated UI component library brand name
- [TAGLINE] — Hero Tagline (default: "30 original animated React & Tailwind components built for instant drop-in."). Concise gallery subtitle
- [DEFAULT_ACCENT] — Default Accent Hex (default: "#7C5CFF"). Initial accent color swatch visitors can change live
- [CREDIT] — keep a small "Template by VibeFather" link to https://vibefather.ai/t/animated-ui-components-gallery 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: "Animated UI Components Gallery"
colors:
obsidian_canvas: "#0A0A0B"
carbon_surface: "#131317"
neutral_hairline: "#27272F"
studio_chalk: "#FAFAFB"
electric_violet: "#7C5CFF"
typography:
brand_wordmark_component_titles: { family: "Space Grotesk", weights: [500, 600, 700] }
descriptions_filters_controls: { family: "Inter", weights: [400, 500, 600] }
code_snippets_props_readouts_k_shortcuts: { family: "JetBrains Mono", weights: [400, 500, 600] }
spacing: "Compact sticky top command bar with live accent picker and ⌘K button, immediately followed by the interactive Featured Component Workbench above the fold and the 30-item live bento gallery grid below."
radius: "14px studio component wells with crisp 1px neutral borders; full-pill category tabs and accent swatches."
---
# Animated UI Components Gallery — 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
- **Obsidian Canvas** `#0A0A0B` — Primary near-black studio backdrop
- **Carbon Surface** `#131317` — Component card wells, workbench stage, and ⌘K modal
- **Neutral Hairline** `#27272F` — Crisp 1px dark studio borders and dividers
- **Studio Chalk** `#FAFAFB` — High-contrast headings and Light preview surface
- **Electric Violet** `#7C5CFF` — Default visitor-changeable accent color across all 30 live demos
## Typography
- **Brand Wordmark & Component Titles** — Space Grotesk (OFL), weights 500/600/700. Self-host the font files.
- **Descriptions, Filters & Controls** — Inter (OFL), weights 400/500/600. Self-host the font files.
- **Code Snippets, Props Readouts & ⌘K Shortcuts** — JetBrains Mono (OFL), weights 400/500/600. Self-host the font files.
## Spacing & shape
- Spacing: Compact sticky top command bar with live accent picker and ⌘K button, immediately followed by the interactive Featured Component Workbench above the fold and the 30-item live bento gallery grid below.
- Radius: 14px studio component wells with crisp 1px neutral borders; full-pill category tabs and accent swatches.
## Motion
- Every single one of the 30 components runs its own real interactive CSS/React animation responding to pointer hover, click, drag, and live Speed/Intensity/Accent controls.
- Live CSS custom properties propagate accent color and speed changes instantly with zero jank.
- Respect prefers-reduced-motion by pausing continuous ambient loops while preserving interactive state transitions.
## Imagery
100% live code-rendered interactive React, CSS, and SVG component demos—zero stock photos or external assets.
## Tone
Razor-sharp developer studio—restrained near-black chrome letting every glowing interactive component steal the spotlight.
---
— Prompt by VibeFather · https://vibefather.ai/t/animated-ui-components-gallery · CC BY-NC 4.0 (non-commercial; commercial use needs a VibeFather Pro license) · Request removal: https://vibefather.ai/takedown
改成你自己的
- 设计系统团队:将 BRAND 设置为你组件库的名称,将 DEFAULT_ACCENT 保留为你的品牌十六进制色值,并将目录精简为你的产品实际发布的微交互。
- 自由设计工程师:将画廊用作公开作品集,用你的定位替换 TAGLINE,并将每个复制的代码片段链接到实际客户示例。
- 开发者工具初创公司:将 30 张卡片指向你自己的组件文档,并围绕你的产品界面(如引导和计费)重写分类筛选器。
- 编程训练营或课程创作者:将 BRAND 设置为你课程的名称,并使用 Copy as Prompt 让学生根据书面规范重建每个动画。
动画 UI 组件库:常见问题
如何将这些动画组件之一添加到我自己的落地页?
在动画 UI 组件库中打开任意卡片,在工作台里调节速度、强度和强调色,然后从代码标签页复制干净的 React 和 Tailwind CSS 代码片段。该片段可直接用于生产环境,能放入 Vite、Next.js 或任何 React 项目。如果你更希望让 AI 代理重新构建它,请改用一键 Copy as Prompt 按钮。
这个画廊中的 ⌘K 命令面板是什么,如何工作?
动画 UI 组件库包含一个可通过键盘访问的命令面板,使用 ⌘K 打开。它让你无需滚动网格即可直接跳转到 30 个组件中的任意一个,并与搜索栏和 6 个分类筛选器并列。它专为开发者实际浏览组件库的方式而构建:输入名称,按回车,直达在线演示。
我可以将动画 UI 组件库用于客户项目或商业产品吗?
动画 UI 组件库的商业和客户项目使用需要 Pro。该模板是 Pro 模板:简介、技术栈和变量是公开的,完整提示词和演示源代码随 Pro 会员提供。免费提示词和 VibeFather 上的每个 DESIGN.md 仅授权个人非商业使用。
怎么用 AI 做一个动画 UI 组件库?
复制本页的完整提示词(Pro),或者运行 npx vibefather add animated-ui-components-gallery,把 [BRAND]、[TAGLINE]、[DEFAULT_ACCENT] 换成你自己的内容,再粘贴到 Claude Code、Codex、Cursor 等 AI 编程工具里。在线演示就是用这份提示词原样做出来的。
动画 UI 组件库模板的演示是哪个 AI 模型做的?
演示由 Gemini 4 Neon 在 Antigravity 里完成;另一个案例由 GPT-6.2 Sol 在 Codex 里完成。每次都用公开的提示词原样生成,没有额外补充,可以并排比较不同模型的效果。