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

  1. In an empty folder run npx create-video@latest and choose the blank template.
  2. Open Claude Code there with claude and paste the prompt. Replace every [PLACEHOLDER].
  3. Preview with npm run dev, then ask for tweaks in plain language.
  4. 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

1

Player card

Intern

0 / 60 XP

0
day streak
0
lessons done
0
prompts used
0
total XP

Daily quests 0/3

Badges

Progress is saved in this browser. Sign in with Google to keep it on every device.

⏰ Last Chance to Join

Level Up Your Design Skills

Join 10,000+ designers getting weekly design tips, exclusive AI prompts, and video tutorials directly in your inbox.

Free tutorials & design tips
Exclusive AI prompts & workflows
No spam, unsubscribe anytime

Join 10,000+ Designers

Enter your email to get instant access to design tips, AI prompts & exclusive tutorials.

✓

You're All Set!

Check your email for instant access to our design tips, AI prompts, and exclusive tutorials. Welcome to the community! 🎉