Communitygithub.com

motion-bento

Remotion运动风格“Bento”(曲奇网格功能展示板),适用于Instagram Reels和轮播图:浅色背景、不同尺寸的圆角瓦片紧密排列,每块瓦片展示一个要点(大数字、图标、3D对象、短标签),一块品牌色英雄瓦片;瓦片错落弹入,数字滚动递增。适用于产品功能、“内含组件”、仪表盘、结果展示。触发词:“bento grid”、“feature grid animation”、“app features reel”、“dashboard reel”。

motion-bento 是什么?

Bento是一种基于Remotion的运动设计风格,旨在为Reels、TikTok和Shorts等短视频平台创建动态的网格布局动画。其核心是“曲奇网格”概念,由4-6个不同尺寸的圆角瓦片(圆角半径34,间距18,带柔和阴影)排列在2-3行中,其中一块最大的英雄瓦片使用品牌色或强调色突出显示。每块瓦片只展示一个信息:可以是带图标和标签的图标瓦片、数字滚动递增的大数字瓦片,或从角落露出的3D对象。动画方面,瓦片使用弹簧动画(阻尼14,刚度160)从0.6缩放至1.0,并以4-6帧的间隔错开入场;大数字在22帧内从0单调递增;英雄瓦片具有约±1%的“呼吸”运动(正弦波,14帧周期)。该技能支持Claude Motion Skills框架,用户需自带品牌令牌(tokens.ts),并遵循Google Flow资产生成流程(生成1-2个小3D对象,使用特定提示模板,避免文本/面孔/logo,衡量背景色以实现无缝融合)。严格禁止资产复用——每个视频必须使用全新的3D对象、图像和音乐曲目,并维护资产清单(ASSETS.md)。输出前需通过TypeScript检查、关键帧截图、完整渲染,并生成全视频接触片检查无明显问题;音频需达到-14 LUFS响度;文本需保持在Reels安全区域(y 285-1248, x 80-910)内,避免被UI遮挡;字体需包含目标语言字符(如乌兹别克语特殊字母),避免使用箭头、不等号等字形改用SVG图标;旁白建议使用单次TTS生成,仅在不影响意群的情况下缩短静音间隔。

兼容平台✓Claude Code~Codex CLI~Cursor
npx skills add https://github.com/bahodirbuxorov/claude-motion-skills/tree/HEAD/skills/motion-bento

在你喜欢的 AI 中提问

打开一个已预加载此 Agent Skill 的新对话。

文档

Bento — Reels / TikTok / Shorts(Remotion)运动风格

实时演示代码:starter/src/styles/Bento.tsx,位于 claude-motion-skills。 请自带品牌令牌(starter/src/lib/tokens.ts)。如果你的项目有自己的风格指南(例如 STUDIO.md),则以该指南为准。

帧配方

  • 背景 #EEF4F0;瓦片圆角半径34,间距18,柔和阴影。4-6块瓦片排列成2-3行;最大的瓦片 = 主要事实(品牌色或强调色)。
  • 每块瓦片只展示一个内容:58像素图标 + 34-44像素标签,或大号等宽数字(BigNum),或从角落露出的3D对象。
  • 标题采用无衬线900字重约104像素 + 一个衬线斜体单词放在强调色框上。右侧瓦片的文本保持在x <= 910范围内。

运动

BentoTile弹簧动画 阻尼14 刚度160,缩放从0.6到1,4-6帧交错;第一块瓦片 at<0(第0帧即为完整)
BigNum从0到N单调递增,22帧
英雄瓦片约±1% “呼吸”运动(正弦波,14帧周期)
  • 钩子技巧:在第0帧显示虚线空瓦片槽位——暗示网格将会填满。
  • 每句旁白点亮一块瓦片。只展示产品实际拥有的功能。

资产 — Google Flow(规则)

本风格: 每个曲奇网格配1-2个新的小3D对象(从瓦片中露出)。

  1. 生成: flow.google.com -> 项目 -> 切换到图片模式(非视频——Veo会消耗额度),Nano Banana,1:1,x2。
  2. 提示模板: “[对象]的3D渲染……使用[品牌主色]搭配[强调色]点缀,柔和接触阴影,居中并留有充足空白,置于纯色无缝浅色[背景色]背景上,柔和影棚灯光。极简高级3D图标风格。无文字、无数字、无字母、无面孔、无标识。” 半色调变体:“[对象]的黑白半色调照片剪影,剪贴画贴纸风格,带有粗白色纸边框……无文字。”
  3. 检查 两个变体的完整尺寸——拒绝任何带有文字、面孔、多余手部或形状破损的结果。
  4. 下载 2K分辨率到 public/ 目录。测量渲染图的背景色(边框的中位数颜色),并将其用作场景背景色,使对象无缝融入。需要透明剪切图?使用 starter/cutout.py in.jpg out.png [tol] [noshadow](不适用于玻璃/透明对象)。
  5. 禁止资产复用: 已用于一个视频的资产(3D对象、图像、音乐曲目)不得在下一个视频中再次使用——观众会厌倦重复。请在项目中维护一份资产清单(ASSETS.md),每集制作前核对,每次渲染后追加。例外情况:标识、字体、颜色令牌、音效、图标。

质量检查清单

  • tsc + 代码规范检查 -> 关键帧截图 -> 渲染 -> 全视频接触片(ffmpeg -vf "select='gte(n,12)*not(mod(n-12,25))',scale=216:-1,tile=7x4")-> 响度 -14 LUFS(双通 loudnorm)。
  • 第0帧为完整封面(无空白首帧);无画面冻结超过2秒;无文字重叠。
  • 可读文字保持在Reels安全区域内 y 285–1248, x 80–910(1080x1920)——底部35%和右侧170像素被UI覆盖。
  • 字体必须包含你的语言的字形(例如乌兹别克语 ʻ U+02BB / ʼ U+02BC:Inter、Inter Tight、IBM Plex、Big Shoulders、Playfair Display 包含这些字形;Bricolage、Syne、Manrope、Instrument Serif 不包含)。不要使用字形输入箭头/不等号/序号符号——请使用SVG图标。
  • 旁白:一次TTS生成,然后仅在静音段缩短长停顿(使用 silencedetect)。字幕可选——当屏幕上大文字已经说出该句话时,可跳过字幕。

Individual skills in this repo

This repo contains 6 individual skills — each has its own dedicated page.

motion-aura-type

Remotion motion style "Aura Type" (soft gradient aura + minimal kinetic typography): white ground, 2–3 huge blurred colour blobs drifting slowly, words resolving one by one from blur to sharp, one serif-italic word in colour. For hooks, quotes, relatable one-liners, statements. Triggers: "aura gradient", "blur text animation", "kinetic typography", "quote reel", "minimal text reel".

motion-captions

Animated captions / subtitles for Instagram Reels, TikTok and YouTube Shorts in Remotion: 6 trending styles — Bold Pop (Hormozi-style uppercase, stroke, keyword colour, word pop), Karaoke (active word grows), Editorial Mix (small words + one giant serif quote), Serif Mix, Box Line (plate + highlighted word), Minimal (lowercase fade). Covers word timing (Whisper word timestamps or silence-based estimation for low-resource languages), pagination, safe zone and when NOT to caption. Triggers: "captions", "subtitles", "animated captions", "karaoke captions", "hormozi captions", "word by word subtitles".

motion-data-bars

Remotion motion style "Data Bars" (editorial finance infographic) for Instagram Reels and carousels: cream ground, numbers as the hero, tall bars growing on springs, monotone percentage counters, one highlighted "answer" bar, grotesk headline with one serif-italic word, "sample numbers" tag. For data stories, breakdowns, comparisons, salary/tax/finance explainers. Triggers: "infographic reel", "bar chart animation", "data visualization video", "finance reel".

motion-glass-object

Remotion motion style "Glass & Object" for Instagram Reels, TikTok and YouTube Shorts: one glossy/puffy 3D object hero (Google Flow / Nano Banana), light studio ground, frosted glass cards, floating pill tags, lime highlight box, spreadsheet-cell selection signature, spring animations. Use for product, fintech and SaaS reels, explainers and hooks. Triggers: "glass object", "3D object reel", "fintech reel", "glassmorphism motion", "puffy 3D".

motion-newsflash

Remotion motion style "News Flash" (newspaper headline + hand-drawn annotations) for Instagram Reels: newsprint ground, masthead rule, huge condensed headline, yellow brush highlight that paints in, red marker circle and arrow that draw on, faint text columns, source on screen. For tax news, law changes, deadlines, announcements. Triggers: "newspaper style", "news reel", "breaking news animation", "deadline reminder", "hand drawn annotation".

motion-swiss-grid

Remotion motion style "Swiss Grid" (International Typographic Style revival): paper ground, visible column grid that draws in, big circle + square primitives in brand colours, one giant grotesk word, narrow mono text columns, numbers as graphic elements. For series covers, rules, checklists, step-by-step reels. Triggers: "swiss design", "grid poster", "bauhaus motion", "minimal poster animation", "series cover".

相关技能