用这个模板做的 3 个案例
同一份提示词,不同的 [VARIABLES] 变量。点一个在上方预览。关于这个模板
这是一个为动态设计师、字体动画师或片头设计师打造的四页作品集,设计上让文字本身成为主要视觉作品。设计师的名字以宽大的可变字体铺满首屏,第一行字母中透出一张工作室照片。滚动时,字母会拆开、沿宽度轴挤压和拉伸,然后重新锁定在一起。项目索引是一叠非常大的标题。悬停标题时,字重和字宽会发生变化,光标旁会裁切显示一个小预览图。点击项目会启动全屏过渡:一个巨大的单词扫过橙红色面板,移动时字重逐渐加重,然后案例研究出现。配色为近黑色和暖米白色,外加一种高饱和强调色。展示字体使用开源许可的 Anybody 可变字体,正文使用 Inter,标签使用 JetBrains Mono,全部自托管。项目静帧用 canvas 和 SVG 在代码中绘制,因此保持清晰、构建体积小,看起来仍像真实作品集影片中的画面。几张虚构设计师工作时的照片让页面保持人情味。该模板适合自由动态设计师、艺术指导、字体艺术家和以字体为主导的小型工作室,他们希望作品集能在任何人打开案例研究之前就展示自己如何处理动态。它也适合任何以字体驱动方式展示创意作品的人。要改编它,请更改姓名、领域、城市、专长和预约备注,然后在单一内容文件中重写项目列表。每个案例页都从该列表构建页头、制作人员网格、静帧和下一个项目链接。在减少动态效果设置下,所有动画停止,字体停留在静止字重。
模板提示词
在线演示就是用这份提示词原样做出来的,没有额外补充。其他案例只是改了 [VARIABLES] 变量的值。 提示词保持英文原版,国内常用的 AI 编程工具都能直接理解;下面附中文参考译文。
# Kinetic Typography Portfolio
Build this website exactly as described below. Replace the [VARIABLES] with your own values; keep everything else.
## Brief
Build a four-page portfolio for [BRAND], a [DISCIPLINE] based in [CITY], where very large variable-font type is the artwork. The name fills the first screen with a studio photo visible inside the letters. On scroll the letters split, stretch on the width axis and re-form. The project index is a list of giant titles that move through weight and width on hover, with a cursor-following preview still. Opening a project plays a full-screen type transition before the case study appears. Pages: index.html (home), work.html (all projects with filters), case.html?slug=… (case study, defaults to the first project) and about.html. All copy, the project list and the clients live in one file, src/content.ts. When the variable values differ from the defaults, rewrite every headline, paragraph, project and client so they fit the new person and discipline. Keep the layout, motion and palette exactly as described.
- Audience: Art directors, producers and brand leads at agencies, studios, broadcasters and festivals who are looking for someone to make [SPECIALTIES]. They skim fast, judge craft from the first screen, and open two or three case studies before they get in touch.
- Goal: Make visitors feel the designer's control of motion within five seconds, get them into at least one case study, and end on a clear way to book: a mailto link and a copy-email button with the booking note [AVAILABILITY].
- Tone: Confident, quiet and precise. Short declarative sentences, first person singular, no buzzwords. The type does the shouting and the copy stays calm. Credits and numbers are specific: real-sounding durations, team sizes and festival names, all invented.
## Stack
- Framework: Vite 5 + vanilla TypeScript, multi-page
- Styling: Tailwind CSS 3.4
- Libraries: vite (MIT), typescript (Apache-2.0), tailwindcss (MIT), postcss (MIT), autoprefixer (MIT), gsap (core + ScrollTrigger + Flip) (GSAP Standard License (free, commercial use allowed)), lenis (MIT), lucide (ISC), @fontsource-variable/anybody (OFL-1.1), @fontsource-variable/inter (OFL-1.1), @fontsource-variable/jetbrains-mono (OFL-1.1)
- Build: `npm run build` → static files in `dist/`. No backend, no server code, no external APIs.
- Setup:
- Scaffold with Vite's vanilla-ts template. Put four HTML entry files at the project root: index.html, work.html, case.html and about.html. Register all four in vite.config.ts under build.rollupOptions.input.
- vite.config.ts: base './', build.sourcemap false, build.outDir 'dist', and the default esbuild minify. Do not copy src/ into dist/.
- package.json scripts: "dev": "vite", "build": "tsc --noEmit && vite build", "preview": "vite preview".
- Fonts: in src/styles/main.css, import '@fontsource-variable/anybody/wdth.css' (family 'Anybody Variable', weight 100–900, stretch 50%–150%), '@fontsource-variable/inter' and '@fontsource-variable/jetbrains-mono'. Never load a font from a CDN.
- tailwind.config.ts: content ['./*.html', './src/**/*.ts']. Extend colors with ink #0B0B0C, ink-2 #141416, paper #F2EFE8, paper-dim #A9A59C, line #2A2A2D, hot #FF4A1C and hot-deep #C7330F. fontFamily: display ['Anybody Variable', 'sans-serif'], sans ['Inter Variable', 'system-ui', 'sans-serif'], mono ['JetBrains Mono Variable', 'ui-monospace', 'monospace'].
- Drive all display type through CSS custom properties: .vf { font-variation-settings: 'wght' var(--w, 800), 'wdth' var(--x, 100); }. GSAP tweens --w and --x on each element or letter span. Never animate font-weight or font-stretch directly.
- src/content.ts exports: site (brand, discipline, city, specialties, availability, email built as 'hello@' + brand lowercased with spaces and accents removed + '.studio'), services[], clients[], stats[], experience[], awards[] and projects[]. Each project has slug, title, client, year, category, role, duration, team, tools[], summary, brief, approach, outcome, quote {text, name, title}, stillSeed and accent. Every page renders from this file.
- src/lib/split.ts: a dependency-free splitter that wraps each character of an element in <span class="ch vf" aria-hidden="true"> inside a wrapper, and sets aria-label with the full text on the wrapper. Do not use any paid GSAP plugin; SplitText is not needed.
- src/lib/fit.ts: fitText(el) measures the element at font-size 100px and sets its font-size so the line fills its container width exactly. Re-run on resize (debounced 150 ms) and after document.fonts.ready.
- src/lib/stills.ts: drawStill(canvas, seed, variant, t) draws the code-made motion stills described under Assets. It is pure canvas 2D, scaled by devicePixelRatio and capped at 2.
- src/lib/transition.ts: the full-screen case transition overlay, shared by every page.
- src/lib/smooth.ts: start Lenis with lerp 0.1. Call ScrollTrigger.update from lenis.on('scroll') and drive lenis.raf from gsap.ticker; set gsap.ticker.lagSmoothing(0). Skip Lenis entirely under prefers-reduced-motion.
- Register plugins once in src/lib/gsap.ts with gsap.registerPlugin(ScrollTrigger, Flip) and import gsap from there everywhere.
- Add `@view-transition { navigation: auto; }` to main.css so supporting browsers cross-fade between pages. The GSAP overlay is the main effect and must work without it.
- Favicon: an inline SVG file public/favicon.svg with a hot #FF4A1C square and a near-black first initial of [BRAND] set in a heavy wide geometric letter drawn as a path or text. The <title> on each page is '[BRAND] — [DISCIPLINE]', with the page name prefixed on inner pages, e.g. 'Work — [BRAND]'.
- Write the ASSETS.md file at the project root listing every image file with its path, source URL, author and license.
## Variables
- [BRAND] — Designer or studio name (default: "Oda Brenner"). Two short words read best as giant type, about 8–14 letters in total. It is the hero artwork, the wordmark and the email.
- [DISCIPLINE] — Discipline (default: "Motion designer & type animator"). The line under the name and in the page titles.
- [CITY] — Base city (default: "Rotterdam"). Shown in the hero meta row, the footer and the about page.
- [SPECIALTIES] — What you make (default: "title sequences, brand motion and kinetic identity systems"). Lowercase phrase that drives the intro statement, the services and the invented project list.
- [AVAILABILITY] — Booking note (default: "Booking projects from February 2027"). The rotating hero badge and the contact section.
- [CREDIT] — keep a small "Template by VibeFather" link to https://vibefather.ai/t/kinetic-typography-portfolio 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: "Kinetic Typography Portfolio"
colors:
ink: "#0B0B0C"
ink_2: "#141416"
paper: "#F2EFE8"
paper_dim: "#A9A59C"
line: "#2A2A2D"
hot: "#FF4A1C"
hot_deep: "#C7330F"
typography:
display_name_project_titles_giant_headings_transition_word_uppercase_with_tracking_0_02em_and_line_height_0_82_rest_state_wght_800_wdth_100_animated_across_wght_100_900_and_wdth_50_150_through_css_variables: { family: "Anybody Variable (@fontsource-variable/anybody, wdth axis file)", weights: [100, 300, 500, 800, 900] }
body_copy_and_paragraphs_at_17px_desktop_16px_mobile_line_height_1_55_max_width_60ch: { family: "Inter Variable (@fontsource-variable/inter)", weights: [400, 500, 600] }
labels_indexes_01_08_meta_keys_nav_buttons_uppercase_12px_letter_spacing_0_08em: { family: "JetBrains Mono Variable (@fontsource-variable/jetbrains-mono)", weights: [400, 600] }
spacing: "12-column grid with 24px gutters and 40px outer margins on desktop (max width none; type runs edge to edge inside the margins). On mobile: 4 columns, 16px gutters, 16px margins. Section vertical padding is clamp(96px, 14vw, 200px). Leave a lot of negative space: text blocks sit on columns 7–12 or 2–7, never centered blocks of copy. Every list row is separated by a 1px #2A2A2D rule."
radius: "0 everywhere: sharp rectangles for images, cards, buttons and chips. The only round shapes are the rotating circular badge and the 8px status dot."
---
# Kinetic Typography Portfolio — 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
- **Ink** `#0B0B0C` — Page background on every page
- **Ink 2** `#141416` — Raised panels, project card backgrounds, menu overlay
- **Paper** `#F2EFE8` — Primary text and giant display type
- **Paper dim** `#A9A59C` — Secondary text, mono labels, meta values
- **Line** `#2A2A2D` — 1px hairline rules between list rows and grid cells
- **Hot** `#FF4A1C` — The single accent: badge, marquee band, transition panel, hover underline, focus rings and active filter chip
- **Hot deep** `#C7330F` — Pressed and hover state of hot buttons, shadow tone inside the code-drawn stills
## Typography
- **Display: name, project titles, giant headings, transition word. Uppercase with tracking -0.02em and line-height 0.82. Rest state wght 800 / wdth 100; animated across wght 100–900 and wdth 50–150 through CSS variables** — Anybody Variable (@fontsource-variable/anybody, wdth axis file) (OFL), weights 100/300/500/800/900. Self-host the font files.
- **Body copy and paragraphs at 17px desktop / 16px mobile, line-height 1.55, max width 60ch** — Inter Variable (@fontsource-variable/inter) (OFL), weights 400/500/600. Self-host the font files.
- **Labels, indexes (01–08), meta keys, nav, buttons. Uppercase 12px, letter-spacing 0.08em** — JetBrains Mono Variable (@fontsource-variable/jetbrains-mono) (OFL), weights 400/600. Self-host the font files.
## Spacing & shape
- Spacing: 12-column grid with 24px gutters and 40px outer margins on desktop (max width none; type runs edge to edge inside the margins). On mobile: 4 columns, 16px gutters, 16px margins. Section vertical padding is clamp(96px, 14vw, 200px). Leave a lot of negative space: text blocks sit on columns 7–12 or 2–7, never centered blocks of copy. Every list row is separated by a 1px #2A2A2D rule.
- Radius: 0 everywhere: sharp rectangles for images, cards, buttons and chips. The only round shapes are the rotating circular badge and the 8px status dot.
## Motion
- Default easing is 'expo.out' for reveals and 'power3.inOut' for transitions. Durations: 0.6s micro, 0.9s reveals, 1.2s transitions.
- Hero split and re-form: the hero section is pinned for 180% of the viewport height with ScrollTrigger (scrub 0.8). For progress 0→0.5, each letter of the name moves on x by (index − center) × 6vw and on y by alternating ±18vh, rotates ±8deg, and --x goes from 100 to 50 on even letters and to 150 on odd letters. For progress 0.5→1, every letter returns to x 0, y 0, rotate 0 and --x 100 while --w sweeps 800→300→900. The photo inside the first line scales from 1.15 to 1.
- Intro statement: each word starts at --w 200 and opacity 0.25, then moves to --w 700 and opacity 1, scrubbed word by word as the paragraph crosses from 80% to 30% of the viewport.
- Project row hover (pointer devices only): on enter the title tweens --w 300→900 and --x 70→120 over 0.6s. While hovering, the pointer's x position across the row maps --x linearly from 60 at the left to 140 at the right with gsap.quickTo (duration 0.4). On leave it returns to --w 300 / --x 70. Siblings dim to opacity 0.35.
- Cursor preview: a 360×240 canvas card follows the pointer with gsap.quickTo (x and y, duration 0.5, 'power3'). It reveals with clip-path inset(50% 50% 50% 50%) → inset(0) in 0.5s and rotates ±4deg with horizontal velocity. It swaps the project still as the hovered row changes. Hidden on touch devices.
- Marquee bands: two copies of the content loop horizontally with gsap (xPercent −50, linear, 22s, repeat −1). ScrollTrigger velocity adds to timeScale (1 + |velocity| / 600, clamped at 5) and sets skewX to velocity / −300, clamped at ±12deg. Both ease back to 1 and 0 over 0.8s. Scrolling up reverses the direction.
- Case transition: clicking any project link calls preventDefault and shows the overlay. A hot #FF4A1C panel wipes up from the bottom with clip-path inset(100% 0 0 0) → inset(0) over 0.5s 'power3.inOut'. The project title, set at 28vw in near-black, travels on x from 100vw to −100% of its width over 1.1s while --w goes 100→900 and --x goes 50→150. At 0.9s the page navigates to case.html?slug=…, after writing sessionStorage 'vf-transition' = slug inside try/catch. On case.html load, if the flag is present, the overlay starts fully covering the screen and the title freezes at --w 900. The panel then wipes up and out (inset(0) → inset(0 0 100% 0), 0.7s) as the case header letters rise. Without the flag the case page plays only its header reveal.
- Next-project link: the giant title's --x follows pointer distance to its center, 60 when the pointer is 600px or more away and 150 when it is on top. It is computed every frame from a single pointermove listener and tweened with quickTo.
- Reveal on scroll: images clip in with inset(0 0 100% 0) → inset(0) at 0.9s. Mono labels and paragraphs fade and rise 24px, staggered 0.06s. Each element triggers once at 'top 85%'.
- Code-drawn stills animate slowly with requestAnimationFrame (t advances 0.004 per frame) only while visible, controlled by IntersectionObserver.
- prefers-reduced-motion: reduce. Do not start Lenis, pin, scrub, marquee loops, still animation, the cursor preview or the overlay. Letters sit at rest (--w 800, --x 100), project titles at --w 500, and stills render one static frame. Links navigate immediately. Content appears without fades.
## Imagery
Five photographs of one fictional designer and their studio, all from the same shoot: dim concrete studio, warm tungsten light, one orange-red practical glow, deep shadows, fine film grain. They are generated for this template. Everything else is drawn in code. Each project has a unique canvas still built from the palette (ink, paper, hot, hot deep), so the work feels like frames pulled from a reel. Photos get a subtle CSS treatment: filter contrast(1.05) saturate(0.9), plus a 3% SVG noise overlay across the whole page (an inline feTurbulence SVG set as a fixed pointer-events-none layer at opacity 0.06). No icons beyond a handful of Lucide arrows, plus menu, close, copy and check.
## Tone
Confident, quiet and precise. Short declarative sentences, first person singular, no buzzwords. The type does the shouting and the copy stays calm. Credits and numbers are specific: real-sounding durations, team sizes and festival names, all invented.
---
— Prompt by VibeFather · https://vibefather.ai/t/kinetic-typography-portfolio · CC BY-NC 4.0 (non-commercial; commercial use needs a VibeFather Pro license) · Request removal: https://vibefather.ai/takedown
改成你自己的
- 自由片头设计师:将 BRAND 设为你的名字,SPECIALTIES 设为电影和剧集片头序列,然后围绕片头字幕和片尾卡重写项目列表。
- 小型字体主导工作室:使用双词工作室名称作为 BRAND,将 DISCIPLINE 设为品牌动态系统,并将案例研究替换为品牌识别和营销活动作品。
- 字体艺术家:保留巨大的可变字体,但将 SPECIALTIES 指向定制字体和标牌,并用字形研究替换动态静帧。
- 打造个人品牌的艺术指导:将 CITY 和 AVAILABILITY 设为你的预约窗口,并围绕自己的职业生涯重写关于页面的制作人员、客户和奖项。
动态字体作品集:常见问题
如何更改动态字体作品集中的设计师姓名和详细信息?
动态字体作品集模板从单一内容文件拉取所有页面。将 BRAND 设为你的名字,DISCIPLINE 设为你的工作领域,CITY 设为你的所在地,SPECIALTIES 设为你希望接洽的工作类型,AVAILABILITY 设为你的预约备注。提示词要求你重写标题、项目列表和客户,使其适合新的人物,因为默认文案是为动态设计师写的。
怎么用 AI 做一个动态字体作品集?
复制本页的完整提示词(Pro),或者运行 npx vibefather add kinetic-typography-portfolio,把 [CITY]、[BRAND]、[DISCIPLINE]、[SPECIALTIES] 换成你自己的内容,再粘贴到 Claude Code、Codex、Cursor 等 AI 编程工具里。在线演示就是用这份提示词原样做出来的。