MCP READYQuery DESIGN.md protocols, components, templates & tools directly from Claude Code, Grok Build and VS Code.Connect MCP →
uifino
CatalogStylesComponentsTemplatesVideosToolsConnect AI
uifino

DESIGN.md protocols & progressive UI engineering for humans and AI coding agents.

CATALOG
Linear DESIGN.mdClaude DESIGN.mdVercel DESIGN.mdFlighty iOS Spec
STYLES
All StylesHairline GridFrosted GlassNeo-Brutalism
COMPONENTS
HeroAuthTablesCounters
TEMPLATES, VIDEOS & TOOLS
Starter TemplatesVideosBackground GeneratorShadow & Token LabMCP Server Setup
Home/Videos

Marker Highlight

After the headline settles and rests 0.4 s, one semi-transparent marker stroke runs across a single key word, slow at both ends and fast in the middle; for stressing the one word that matters.

Motion4s1920×1080 · 30fps
0s / 4sFrame 0
Copy it exactly
用 `/hyperframes` 做一个 1920×1080、30 fps、4 秒的标题动效,只有一行字,底色 `#F6F5F2`,字色 `#121212`,字号 120、字重 700、字距 -0.02em、行高 1.3,单行居中不换行,文字视觉中心在画面 45% 高度。中文用 Noto Sans SC,西文用 Hanken Grotesk(都是 `@font-face` 指向 `assets/fonts/`,不要联网取字体)。文案「上线前,先把细节做对」,只划「细节」两个字。

做法:
1. 把整句拆成三段:前文、要划的词、后文。要划的词放进一个 `position: relative; display: inline-block` 的容器,容器里先放一个 SVG(在下层),再放文字(`position: relative; z-index: 1`,在上层)。
2. SVG:`viewBox="0 0 240 64"`、`preserveAspectRatio="none"`,绝对定位,`left: -0.06em`,宽 `calc(100% + 0.12em)`,`top: 0.34em`,高 `0.64em`,整体旋转 -1.2°。里面只有一条路径 `M 36 41 C 64 31, 90 40, 124 33 C 152 28, 182 36, 200 27`,`fill: none`,描边 `#D4412A`、透明度 0.46、线宽 56、圆头圆角。路径设 `pathLength="1"`、`stroke-dasharray="1 2"`、`stroke-dashoffset="1"`,初始 `stroke-opacity="0"`(圆头会在终点留一个点,必须靠透明度藏住),到起笔时刻用 `tl.set` 把透明度设成 0.46,起笔前什么都看不见。
3. 标题入场 0.10–0.70 秒:整行一起从 `blur(8px)` 加透明度 0 变清楚,`power4.out`,不位移、不缩放、不逐字。
4. 落定后完全静止 0.4 秒(0.70–1.10 秒)。
5. 划线 1.10–1.70 秒:只动画 `stroke-dashoffset` 从 1 到 0,`power2.inOut`,一笔完成,不重复描边,不闪。
6. 1.70–4.00 秒完全静止,没有退场。

需要替换的地方:
- 文案(变量 `headline`):中文 `上线前,先把细节做对`,英文 `Get the details right before you ship`(英文把 `fontSize` 调到 96)。
- 要划的词(`accentWord`,必须是文案里的连续片段,只划第一次出现的位置):中文 `细节`,英文 `details`。
- 颜色:记号笔 `markerColor`、底色 `bg`、字色 `ink`;记号笔透明度 `markerOpacity`、线宽 `markerThickness`、字号 `fontSize`。
- 时间:标题开始 `enterAt`、入场时长 `enterDuration`、起始模糊 `enterBlur`、落定后等待 `gap`、划线时长 `strokeDuration`、划线缓动 `strokeEase`。
Learn the technique
先让整句落定并停 0.4 秒让人读完,再用一条半透明(0.46)的描边路径在字的下层划过一个词:`stroke-dashoffset` 1 → 0,0.6 秒,`power2.inOut` 让起笔和收笔慢、中间快,路径带一点弧度和起伏、整体微转 -1.2°,一笔到底,划完画面完全静止。
MCP
get_video({ "id": "motion-text-marker-highlight" })
Download project

Beats

TimePurposeVisualCameraTransitionOn-screen text
0–0.7sHeadline entersThe whole line sharpens from 8 px blur and zero opacity, power4.out, settled at 0.7 sstatic—Get the details right before you ship
0.7–1.1sLet the viewer readFully still for 0.4 sstatic——
1.1–1.7sMark the key wordOne semi-transparent stroke over the key word, stroke-draw power2.inOut, slow-fast-slowstatic——
1.7–4sStill tailFully still, no flash, no exitstatic——

Parameters

ParameterDefaultRangeKind
Headline
headline
上线前,先把细节做对—Content
Word to mark
accentWord
细节—Content
Marker color
markerColor
#D4412A—Look
Marker opacity
markerOpacity
0.460.2 – 0.6Look
Stroke width (240x64 box)
markerThickness
5632 – 64Look
Background
bg
#F6F5F2—Look
Text color
ink
#121212—Look
Font size
fontSize
120px64 – 160pxLook
Headline start
enterAt
0.1s0 – 0.5sTiming
Headline entrance
enterDuration
0.6s0.3 – 1sMotion
Start blur
enterBlur
8px0 – 16pxMotion
Wait before stroke
gap
0.4s0.3 – 1sTiming
Stroke duration
strokeDuration
0.6s0.4 – 1sMotion
Stroke ease
strokeEase
power2.inOut—Motion

Good for

  • One word in a one-line claim needs stressing
  • A relaxed, hand-annotated emphasis
  • Works for Chinese and English; the word is a continuous part of the line

Not for

  • Stressing a whole sentence or several words
  • A formal, cold brand tone
  • A word that wraps across two lines

Source

project
project/assets/fonts
project/compositions
← PreviousFocus Pull RevealNext →Mask Slam Headline