interactivity-best-practices
Skill10 starsChanged 3 months agoMITView on GitHub
Best practices for writing Remotion animations that stay intuitive for agents and editable in Remotion Studio Visual Mode.
1 other project uses a version of this, 1 of them edited.
Adopted by
Most recently taken up by
- remotion-dev/remotionedited, first seen Oct 8, 2026
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 1
- remotion-dev/remotion★ 73k28% same
Wrote their own version · 0
None found.
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository69 other files it gives its agents.
- AGENTS.mdAGENTS.md
- public/llms.txtllms.txt
- ab-testingSkill
- ad-creativeSkill
- adsSkill
- agent-email-inboxSkill
- ai-seoSkill
- analyticsSkill
- animation-vocabularySkill
- apple-designSkill
- asoSkill
- attributionSkill
- churn-preventionSkill
- cold-emailSkill
- co-marketingSkill
- community-marketingSkill
- competitor-profilingSkill
- competitorsSkill
- content-strategySkill
- copy-editingSkill
- copywritingSkill
- croSkill
- customer-researchSkill
- design-taste-frontendSkill
- directory-submissionsSkill
- email-best-practicesSkill
- emailsSkill
- emil-design-engSkill
- find-animation-opportunitiesSkill
- free-toolsSkill
- grill-meSkill
- imageSkill
- improve-animationsSkill
- influencer-marketingSkill
- launchSkill
- lead-magnetsSkill
- marketing-councilSkill
- marketing-ideasSkill
- marketing-loopsSkill
- marketing-planSkill
- marketing-psychologySkill
- next-cache-components-optimizerSkill
- offersSkill
- onboardingSkill
- paywallsSkill
- popupsSkill
- pricingSkill
- product-marketingSkill
- programmatic-seoSkill
- prospectingSkill
- public-relationsSkill
- react-emailSkill
- referralsSkill
- remocnSkill
- remotion-best-practicesSkill
- resend-cliSkill
- resendSkill
- review-animationsSkill
- revopsSkill
- sales-enablementSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
10 rules. About 0 are common, 4 are distinctive, and 6 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈4
Distinctive · estimate
This author's own choices. Worth a look.
6
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 8
Use these guidelines when creating or reviewing Remotion animations, especially if the animation should be editable in Remotion Studio …
- Very specific: line 12
Prefer interpolate() for most animation values.
- Very specific: line 18
When an animation should feel like a spring, keep the editable value in interpolate() and pass Easing.spring() as the easing function.
- Very specific: line 50
Use standalone spring() only when the animation specifically needs a frame-driven physical spring simulation that cannot be represented as …
- Very specific: line 54
Use individual CSS transform properties such as scale, rotate, and translate instead of composing a transform string.
- Distinctive: line 76
Put the interpolation directly in the JSX style object when the value should be visually editable.
- Very specific: line 126
When using the effects prop, keep the effect array shape unconditional.
- Distinctive: line 128
Prefer rendering separate elements when one version should have effects and another should not:
- Distinctive: line 155
Keep editable effect parameters inline inside the unconditional effect call.
- Very specific: line 176
Use the Interactive namespace from remotion when an element is likely to be tweaked in Studio.
≈ “Common” is an estimate: at least 1 in 5 of the 364,980 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Interactivity Best Practices
Use these guidelines when creating or reviewing Remotion animations, especially if the animation should be editable in Remotion Studio Visual Mode.
Prefer interpolate() over standalone spring()
Prefer interpolate() for most animation values.
- It is easier for humans and agents to reason about.
- Bezier easings are familiar from CSS and can express snappy or jumpy motion.
- Studio Visual Mode can edit
interpolate()keyframes.
When an animation should feel like a spring, keep the editable value in interpolate() and pass Easing.spring() as the easing function.
Prefer:
style={{
scale: interpolate(frame, [0, 30], [0, 1], {
easing: Easing.spring({
damping: 200,
}),
}),
}}❌ Avoid using spring() as a separate driver when the same motion can be expressed as interpolate() easing:
const scale = spring({
frame,
fps,
config: {
damping: 200,
},
});
style={{
scale,
}}Easing.spring() supports damping, mass, stiffness, and overshootClamping. It is normalized to the interpolation progress, so it does not take frame, fps, from, to, delay, reverse, durationInFrames, or durationRestThreshold.
Use standalone spring() only when the animation specifically needs a frame-driven physical spring simulation that cannot be represented as an easing on interpolate().
Prefer individual CSS transform properties
Use individual CSS transform properties such as scale, rotate, and translate instead of composing a transform string.
Prefer:
style={{
scale: interpolate(frame, [0, 100], [0, 2]),
}}❌ Avoid:
style={{
transform: `scale(${interpolate(frame, [0, 100], [0, 2])})`,
}}Individual transform properties are editable in Studio Visual Mode. Values hidden inside a transform string are not.
Keep editable values inline
Put the interpolation directly in the JSX style object when the value should be visually editable.
Prefer:
style={{
scale: interpolate(frame, [0, 100], [0, 2]),
}}❌ Avoid:
const scale = interpolate(frame, [0, 100], [0, 2]);
style={{
scale,
}}Inline computations and literal values let Studio Visual Mode discover and edit the keyframes and props.
This also applies to effect parameters. Keep editable effect values inline in the effect call.
Prefer:
effects={[
radialProgressiveBlur({
center: [0.5, 0.5],
point1: [0.86, 0.36],
point2: [0.68, 0.84],
}),
]}❌ Avoid hiding editable values behind constants:
const center = [0.5, 0.5] as const;
effects={[
radialProgressiveBlur({
center,
}),
]}Keep effects unconditional
When using the effects prop, keep the effect array shape unconditional. Studio Visual Mode cannot reliably edit an effect that only exists behind a conditional expression.
Prefer rendering separate elements when one version should have effects and another should not:
<CanvasImage src={src} width={1280} height={720} />
<CanvasImage
src={src}
width={1280}
height={720}
effects={[
blur({
radius: interpolate(frame, [0, 100], [0, 40]),
}),
]}
/>❌ Avoid conditionally including an effect:
<CanvasImage
src={src}
width={1280}
height={720}
effects={enabled ? [blur({radius: 40})] : []}
/>Keep editable effect parameters inline inside the unconditional effect call. Do not pass variables for editable values such as coordinates, colors, numeric controls, or interpolations.
Interpolate rotation and translation directly
Interpolate CSS unit strings directly for rotate and translate.
Prefer:
style={{
rotate: interpolate(frame, [0, 100], ["20deg", "90deg"]),
translate: interpolate(frame, [0, 100], ["0px 0px", "100px 100px"]),
}}❌ Avoid manually building strings around separately interpolated numbers when the property can be interpolated directly.
Direct interpolation of these properties is supported and works better with visual editing in Studio.
Use Interactive.* for tweakable elements
Use the Interactive namespace from remotion when an element is likely to be tweaked in Studio.
import {Interactive} from "remotion";For example:
<Interactive.Div
style={{
color: "red",
fontSize: 80,
}}
>
Hello
</Interactive.Div><Interactive.Div>, <Interactive.Span>, and the other Interactive.* components behave like their regular HTML equivalents, but enable interactivity in Studio.
Inline styles on these elements, such as text color and font size, can be standardized interactively.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

