Motion Prompts · Social & Shorts
Before / After Slider
A divider sweeps to reveal the improved design.
⏱ 6 seconds
Live preview of the style and timing this prompt aims for. The real output is rendered by Remotion from your own brand values, so details will differ.
Create a before/after comparison animation. Two images (props: beforeSrc, afterSrc; use coloured placeholder rectangles with labels if not given) overlap, and a vertical divider with a round handle sweeps left-to-right with easing, revealing "after" via clip-path. Labels "BEFORE" and "AFTER" fade in on their sides. Pause in the middle for 0.5 s, then sweep back and finish at fully "after". Show a subtle drop shadow on the handle.
Technical requirements: Use Remotion (React) in this folder. Create one composition at 1920x1080, 30 fps, 6 seconds. Put every brand-specific value (name, colours, text, font) in a single props object at the top so I can change them in one place and see it live in Remotion Studio. Use spring() and interpolate() with easing, no CSS keyframe animation. Keep it self-contained (no external assets unless I provide them). When finished, run `npx remotion render` to export an MP4 and tell me the output path.How to use it
- In an empty folder run
npx create-video@latestand choose the blank template. - Open Claude Code there with
claudeand paste the prompt. Replace every[PLACEHOLDER]. - Preview with
npm run dev, then ask for tweaks in plain language. - Claude renders the MP4 with
npx remotion render.
Tip: install the Motion brief skill to turn a rough idea into a storyboard and a ready-to-paste prompt.
More Social & Shorts prompts
- Vertical Hook Opener · A scroll-stopping first 3 seconds for Reels and Shorts.
- Launch Countdown · A 5-4-3-2-1 countdown that ends in a launch reveal.
- Subscribe / Follow CTA · Animated button press with bell ring and cursor click.
- Stat Stack for Stories · Three big numbers that count up one after another.