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

Mask Slam Headline

A short line bursts out of a mask in 0.3 s, overshoots once, locks in and stays dead still; for the most forceful claim in a launch film.

Motion3s1920×1080 · 30fps
0s / 3sFrame 0
Copy it exactly
用 `/hyperframes` 做一条 1920×1080、30 fps、3 秒的动效:深色底上一句很短的话从遮罩里极快破出,过冲一次就稳住,然后完全静止。

1. 画面:底色 `#0E0E10`;中间一条通栏横带做遮罩,上沿 y=370px、下沿 y=710px,带子上下各一条 2px 细线 `#26262A`;字居中,只有一档字号 260px,字重 800,字距 -0.02em,行高 1,字色 `#F4F4F2`,末尾两个字用强调色 `#F2B544`。字号按字数自动缩:估算宽度 em = 中文每字 0.98 + 英文字母每个 0.56 + 空格每个 0.25,字号 = min(260, floor(1382 / em)),1382px 是画面宽度的 72%。字体用本地 `@font-face`:中文 Noto Sans SC,西文 Schibsted Grotesk。
2. 遮罩:字外面套一个 `overflow: hidden`、高 340px 的容器,字在里面垂直居中。
3. 入场:整行字作为一个整体,0.20 秒起,`yPercent` 从 120 到 0,时长 0.30 秒,缓动 `back.out(0.9)`(过冲约 3%,只过一次)。只动位置,不加透明度、缩放、模糊。
4. 静止:0.50 到 2.75 秒完全不动。
5. 退场:2.75 秒起 `yPercent` 到 -120,`power3.in`,0.14 秒;2.89 到 3.00 秒只剩底色和细线。
6. 根元素加 `data-motion-blur="on"` 和 `data-motion-blur-shutter="45"(90 会在退场拖出叠层重影)`。
7. 禁止:抖动、屏幕震动、发光、描边、渐变字、淡入、第二次回弹。

需要替换的地方(在 `index.html` 里 `id="slam"` 的挂载元素上写 `data-variable-values='{"text":"Ship it today","accentWord":"today"}'` 传入;换中文文案后要重新生成字体子集,否则缺字):
- 文案 `text`(默认「现在就上线」,英文「Ship it today」)和强调部分 `accentWord`(上线 / today,必须是文案末尾的一段)。字号会按字数自动缩小,保证整行约占画面宽度 66%–72%。
- 颜色:`accentColor`、`bg`、`ink`、`lineColor`。
- 时间和缓动:`enterAt`、`enterDuration`、`enterEase`、`exitAt`、`exitDuration`、`exitEase`。
- 不要加产品界面和其他文字。
Learn the technique
一整行大字从一条遮罩带的下沿外面 0.3 秒冲进来,用 `back.out(0.9)` 只过冲一次(约 3% 位移),冲击感全部来自速度和这一下过冲,过冲只改位置,不改透明度;落定后 2 秒以上一动不动,最后用 0.14 秒 `power3.in` 向上钻出。
MCP
get_video({ "id": "motion-text-mask-slam" })
Download project

Beats

TimePurposeVisualCameraTransitionOn-screen text
0–0.5sLine breaks out of the maskOnly ground and hairlines until 0.2 s; the whole line bursts up from the mask edge in 0.3 s, back.out(0.9), about 3% overshoot, then settlesstatic—Ship it today
0.5–2.75sLet the viewer readFully still: no scale, drift or breathingstatic——
2.75–2.89sClean exitThe line keeps rising out of the mask, power3.in, 0.14 s (47% of the entrance)———
2.89–3sEmpty tailGround and the two hairlines only———

Parameters

ParameterDefaultRangeKind
Copy
text
现在就上线—Content
Accent part
accentWord
上线—Content
Accent color
accentColor
#F2B544—Look
Background
bg
#0E0E10—Look
Text color
ink
#F4F4F2—Look
Hairline color
lineColor
#26262A—Look
Max font size
fontSize
260px160 – 320pxLook
Entrance start
enterAt
0.2s0 – 1sTiming
Entrance duration
enterDuration
0.3s0.25 – 0.35sMotion
Entrance ease
enterEase
back.out(0.9)—Motion
Exit start
exitAt
2.75s2 – 2.85sTiming
Exit duration
exitDuration
0.14s0.1 – 0.2sMotion
Exit ease
exitEase
power3.in—Motion

Good for

  • A single punchy claim in a launch film or ad
  • A slogan of 5 to 7 Chinese characters or 2 to 3 short English words
  • When you want impact without shake or glow

Not for

  • Long or multi-line headlines
  • Scenes where the title must move with other elements

Source

project
project/assets/fonts
project/compositions
← PreviousMarker HighlightNext →Two Cursors Edit One Line