remotion-interactivity
Was er macht
Dieses Tool hilft dir, deine Remotion-Videos interaktiver zu machen. Du kannst Elemente wie Text und Bilder direkt im Editor steuern: auswählen, verschieben, in der Größe ändern und drehen.
Wann du ihn nutzt
- ✓Wenn du möchtest, dass Zuschauer mit Videoelementen interagieren.
- ✓Wenn du Videos erstellst, in denen bestimmte Teile bearbeitbar sein sollen.
- ✓Um Styles und Animationen in Remotion-Videos einfacher zu bearbeiten.
Link zum Skill
https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/remotion-interactivity/SKILL.mdKopiere ihn und füge ihn in deine KI ein (Claude, ChatGPT oder Cursor) mit der Bitte, den Anweisungen zu folgen.
So nutzt du ihn
Am einfachsten: Kopiere die Nachricht und füge sie in deine KI ein. Sie liest den Skill und folgt den Anweisungen.
Fertige Nachricht zum Einfügen
Für Claude Code, Codex oder Cursor: Führe den Befehl in deinem Projektordner aus, dann wird der Skill installiert.
Lade die SKILL.md herunter und lege sie in den Skills-Ordner deines Agenten.
Beispielanfrage an deine KI
“Wie mache ich den Titel meines Videos im Editor auswählbar und in der Größe veränderbar?”
5 neue Skills pro Woche. 1 Minute Lesezeit.
So funktioniert es
Du legst den speziellen Code `Interactive` um die HTML-Elemente, die du interaktiv machen willst. Wichtig ist, jedes Element zu benennen und Styles und Animationen einfach und direkt im Code zu schreiben.
Technischer Inhalt (originale SKILL.md)
Originaltext des Autors, auf Englisch, direkt von GitHub.
When to Use
- Use when this upstream workflow matches the user's stated goal.
- Use when the task requires the procedures documented in this skill.
By writing Remotion markup in a specific way, the Remotion Studio is able to recognize the structure of the code and makes it interactive:
- Allowing items to be selected by clicking on them
- Allowing drag+drop, resizing and rotation
- Editing the CSS styles
- Making keyframes and easing values editable
If the markup is too complex for the Studio to make it interactive, then the values become grayed out.
Make an HTML element interactive using Interactive
Every HTML and SVG element (except <Img>, it already is interactive) such as <div> can be turned interactive using Interactive:
<Interactive.Div
name="Greeting card"
style={{fontSize: 80, padding: 24}}
>
Hello
</Interactive.Div>
This allows styles and keyframes to be set in the Studio. Be sensible, if a component has many elements, the timeline might get messy.
Prefer inline text
If text is fixed and only used once, write it directly inside the interactive element instead of extracting it into a constant.
// 👍 Fixed copy stays editable
<Interactive.Div name="Title">
Remotion Best Practices
</Interactive.Div>
Use a prop or variable only when the text is dynamic or reused.
Give interactive elements a descriptive name
Add a name prop to elements to make them easily identifyable.
Avoid computed names, hardcode them.
<>
<Interactive.Div name="Hero title" style={{fontSize: 80}}>
Launch day
</Interactive.Div>
<Img name="Avatar" src="https://remotion.media/image.jpeg" />
<Video name="Background" src="https://remotion.media/video.mp4" />
<Sequence name="Title">
Launch day
</Sequence>
</>
Keep all CSS styles inline
The best way is to just pass a plain object to style - no referring to constants, no object spreading, no math.
<Interactive.Div
style={{
fontSize: 80,
color: 'red',
}}
>
Hello World!
</Interactive.Div>
const baseStyle = useMemo(() => {
return {
fontSize: 12 // ❌ Non-inline styles are not supported
}
}, []);
<Interactive.Div
style={{
...baseStyle, // ❌ Spreading is not supported
color: RED, // ❌ Referring to constants is not supported
scale: frame * 10 // ❌ Math is not supported
}}
>
Hello World!
</Interactive.Div>
Animate using interpolate()
Write animations as inline interpolate() calls on the property that changes.
The output range, easing, extrapolation and output property should use hardcoded values.
The input range may additionally use durationInFrames, fps, width and height destructured directly from useVideoConfig(). Bare identifiers such as durationInFrames, multiplication with a number such as 2 * fps or fps * 2, and subtraction of a number such as durationInFrames - 1 are supported.
const {fps, durationInFrames} = useVideoConfig();
// 👍 Inline values can be standardized and keyframed
<Interactive.Div
name="Product card"
style={{
color: 'white',
fontSize: 80,
scale: interpolate(frame, [0, fps], [0, 1], {
easing: Easing.spring({damping: 200}),
output: 'perceptual-scale',
extrapolateLeft: 'clamp',
extrapolateRight: 'clamp'
}),
rotate: interpolate(frame, [0, 1 * fps], ['0deg', '20deg'], {
easing: Easing.spring({damping: 200}),
extrapolateLeft: 'clamp',
extrapolateRight: 'clamp'
}),
translate: interpolate(
frame,
[durationInFrames - 30, durationInFrames],
['0px 0px', '0px 120px'],
{
easing: Easing.spring({damping: 200}),
output: 'perceptual-scale',
extrapolateLeft: 'clamp',
extrapolateRight: 'clamp'
}
),
}}
/>
const translateY = interpolate(frame, [0, 30], [0, 120]); // ❌ Math should be directly in the markup
<Interactive.Div
name="Product card"
style={{
translate: translateY, // ❌ Only inline interpolate() calls are supported,
rotate: interpolate(frame, [start, start + 10], [0, Math.PI]), // ❌ Cannot use math with arbitrary variables, cannot use constants
scale: interpolate(anyVariable, [0, 30], [0, 1]) // ❌ Can only interpret the `frame` variable.
}}
/>
…
Häufige Fragen
Was bedeutet „interaktiv“ in diesem Zusammenhang?
Es bedeutet, dass du im Remotion-Editor Elemente deines Videos anklicken, ziehen, in der Größe ändern und drehen kannst, ähnlich wie bei Objekten in einem Design-Programm.
Warum muss ich den Code auf eine bestimmte Weise schreiben?
Der Remotion-Editor sucht nach einem bestimmten Muster im Code, um zu erkennen, welche Teile des Videos steuerbar sind. So versteht der Editor den Code und bietet die Interaktionsmöglichkeiten an.
Kann ich alles animieren?
Du kannst Eigenschaften wie Skalierung, Rotation und Position mit der Funktion `interpolate()` animieren. Die Werte müssen aber direkt im Code stehen, ohne komplizierte Berechnungen oder externe Variablen.
Details
Originalbeschreibung des Autors
Structure Remotion markup for interactivity
Beliebtheit
- GitHub-Sterne
- 48k
- Platz im Ranking
- #5611
- Lizenz
- MIT
- Aktualisiert
- 15.10.2026
Kommentare
- …
Weitere Skills aus diesem Repository
00-andruia-consultant
48kHilft deinem Agenten, KI-Projekte zu starten oder zu verbessern. Er analysiert Code, schlägt Tools vor und erstellt Aktionspläne auf Spanisch.
007
48kLässt deinen Agenten Sicherheitsaudits und Bedrohungsmodellierung durchführen. Nützlich, um Projekte vor Angriffen und Schwachstellen zu schützen.
10-andruia-skill-smith
48kHilft deinem Agenten, KI-Tools zu erstellen oder zu verbessern. Er legt fest, wie Tools funktionieren, schreibt die Dokumentation und prüft die Struktur.
20-andruia-niche-intelligence
48kLässt deinen Agenten eine Branchenzusammenfassung erstellen. Nützlich, um Kontext, Regeln, Nutzungsmuster und Risiken anhand verlässlicher Quellen zu verstehen.
Ähnliche Skills
taste-application
280kHilft deinem Agenten, Videos im Stil eines Referenzvideos zu erstellen. Er übernimmt den Schnittrhythmus, generiert Szenen, passt Farben an und schneidet alles zusammen.
taste-distillation
280kLässt deinen Agenten Videos analysieren und ein Stil-Paket erstellen. Es enthält Farben, Schnittrhythmus und visuelle Elemente für neue Videos im gleichen Look.
ui-demo
280kLässt deinen Agenten ansprechende UI-Demo-Videos aufnehmen. Nützlich für Tutorials oder um zu zeigen, wie eine Web-App funktioniert.