Skip to content

🎥 Make videos programmatically with React

Add spring() editor link to Remotion Studio and documentation

Jonny Burgerb8a1302680de
diff --git a/packages/cli/src/editor/helpers/use-menu-structure.tsx b/packages/cli/src/editor/helpers/use-menu-structure.tsx
index d42d888071..bcab50c9c3 100644
--- a/packages/cli/src/editor/helpers/use-menu-structure.tsx
+++ b/packages/cli/src/editor/helpers/use-menu-structure.tsx
@@ -576,6 +576,20 @@ export const useMenuStructure = (closeMenu: () => void) => {
type: 'item' as const,
quickSwitcherLabel: 'Show Color Picker',
},
+ {
+ id: 'spring-editor',
+ value: 'spring-editor',
+ label: 'spring() Editor',
+ onClick: () => {
+ closeMenu();
+ window.open('https://springs.remotion.dev', '_blank');
+ },
+ leftItem: null,
+ keyHint: null,
+ subMenu: null,
+ type: 'item' as const,
+ quickSwitcherLabel: 'Open spring() Editor',
+ },
],
quickSwitcherLabel: null,
}
diff --git a/packages/docs/docs/spring.md b/packages/docs/docs/spring.md
index 79f7da69b6..21bb0c4911 100644
--- a/packages/docs/docs/spring.md
+++ b/packages/docs/docs/spring.md
@@ -24,6 +24,10 @@ const value = spring({
});
```
+## Spring Editor
+
+Visit [springs.remotion.dev](https://springs.remotion.dev) to play around with the spring animation parameters and see how they affect the animation.
+
## Parameters
### `frame`