Tags Expand Into a Card
A row of tags pops in one by one, then one of them grows into a card while the rest fade outward, and a one-line description appears. For listing capabilities, then zooming into one.
Motion6s1920×1080 · 30fps
0s / 6sFrame 0
Copy it exactly
用 `/hyperframes` 做一个 1920×1080、30 fps、6 秒的「标签展开成卡片」动效。底色 `#F6F5F2`,标签和卡片填充 `#FFFFFF`,字色 `#121212`,说明句色 `#6B6966`,描边 `#E2DFD8`。字体:中文思源黑体、西文 Hanken Grotesk,用 `@font-face` 指向 `assets/fonts/`,不联网。 版式:五个标签一排,水平居中,垂直中心 y = 540。标签高 128px,左右内边距 56px,间距 28px,宽度跟字走,全圆角(圆角 64px);字 64px、字重 600、字距 -0.01em。填充白色,外加 `0 0 0 2px #E2DFD8` 描边和 `0 8px 24px rgba(18,18,18,0.08)` 近影。没有图标和表情。 文案:「对话」「补全」「预测」「记忆」「工具调用」,展开第三个「预测」,说明句「你还没写完,它已经猜到下一行」,36px、字重 400、色 `#6B6966`。 动作: 1. 标签入场:scale 0.9→1 加透明度 0→1,`power3.out`,0.5 秒,不过冲;起点 0.40 / 0.52 / 0.64 / 0.76 / 0.88 秒,间隔 0.12 秒。1.38 到 2.20 秒完全静止。 2. 展开(2.20 到 2.90 秒,`power3.inOut`,0.7 秒):「预测」这个标签自己变形,不另起一张卡。位置移到画面正中(卡片 840×264,left 540,top 408),宽 240→840、高 128→264,圆角 64→24px;标题字从标签正中同步移到卡片左上(距左 64px、距上 56px)。填充、描边、阴影、字色全程不变。宽高用 `width`、`height`,位置用 `x`、`y`。 3. 同一时刻,其余四个标签向外移 40px(左边两个向左、右边两个向右),`power3.inOut` 0.7 秒;透明度 1→0,`power2.out`,0.42 秒。 4. 说明句 2.80 秒开始(展开结束前 0.1 秒):透明度 0→1 加上移 12px 落定,`power2.out`,0.35 秒;位置在标题下 12px、与标题左对齐。 5. 3.15 到 6.00 秒完全静止,不呼吸、不漂浮。 需要替换的地方: - 文案:变量 `tag1` 到 `tag5`、`detail`(英文例:Chat / Completion / Prediction / Memory / Tool use,说明 It guesses the next line before you finish);英文时标签字号会自动缩小到整排不超过 1600px。 - 展开哪一个:`focusIndex`(1 到 5)。 - 颜色:`bg`、`surface`、`ink`、`muted`、`line`。 - 时间和尺寸:`startAt`、`stagger`、`popDuration`、`expandAt`、`expandDuration`、`expandEase`、`shift`、`cardRadius`、`cardW`、`cardH`、`textLead`。 - 标签数量固定为 5;要增减,复制或删除一个标签元素并同步改脚本里的列表。
Learn the technique
被选中的标签自己长成卡片,不另起一张:0.7 秒 `power3.inOut` 里它的位置、宽高和圆角(全圆角 64px→24px)连续变化,字从中间移到左上,底色和阴影不变;其余标签同时淡出并外移 40px;说明句在展开结束前 0.1 秒开始淡入。展开前标签依次入场,间隔 0.12 秒,全部停稳 0.8 秒后才展开。
MCP
get_video({ "id": "motion-list-tags-then-focus" })Beats
| Time | Purpose | Visual | Camera | Transition | On-screen text |
|---|---|---|---|---|---|
| 0.4–1.38s | List the capabilities | Five tags scale 0.9 to 1 and fade in 0.12 s apart, power3.out 0.5 s, no overshoot | static | — | Chat / Completion / Prediction / Memory / Tool use |
| 1.38–2.2s | Let the viewer read the row | Fully still for 0.82 s | static | — | — |
| 2.2–2.9s | Pick one | The Prediction tag itself grows into a 840x264 card, radius 64 to 24 px, power3.inOut 0.7 s; the other four fade out and move 40 px outward | static | — | Prediction |
| 2.8–3.15s | Give the description | The description starts fading in 0.1 s before the expansion ends and settles up 12 px | static | — | It guesses the next line before you finish |
| 3.15–6s | Let the viewer read | Fully still for 2.85 s | static | — | — |
Parameters
| Parameter | Default | Range | Kind |
|---|---|---|---|
Which tag opens focusIndex | 3 | 1 – 5 | Look |
First tag enters startAt | 0.4s | 0 – 1s | Timing |
Gap between tag entrances stagger | 0.12s | 0.08 – 0.25s | Timing |
Entrance duration per tag popDuration | 0.5s | 0.3 – 0.8s | Motion |
Expansion start expandAt | 2.2s | 1.8 – 3s | Timing |
Expansion duration expandDuration | 0.7s | 0.5 – 1s | Motion |
Expansion ease expandEase | power3.inOut | — | Motion |
Outward shift of the other tags shift | 40px | 16 – 80px | Motion |
Card corner radius cardRadius | 24px | 8 – 24px | Look |
Card width cardW | 840px | 800 – 1200px | Look |
Card height cardH | 264px | 240 – 360px | Look |
Description lead time textLead | 0.1s | 0 – 0.3s | Timing |
Good for
- Listing three to six capabilities, then opening one
- Short one-word tags
- Works in Chinese and English; tag size shrinks to fit
Not for
- Tags that need icons or pictures
- Opening several tags in turn
- Descriptions longer than one line