before-after-slider-scrub

Shot recipes · Before and after · Apache-2.0

What it does

Before and after views share one frame while a fast-then-slow slider reveals the processed result.

Get it

Copy demos/data/before-after-slider-scrub/BeforeAfterSliderScrub.tsx into a Remotion project with demos/_fixtures/Fixtures.tsx, demos/_fixtures/Polish.tsx; fix the import paths; then <Composition id="BeforeAfterSliderScrub" component={BeforeAfterSliderScrub} durationInFrames={BEFORE_AFTER_SLIDER_SCRUB_DURATION} fps={30} width={1920} height={1080} />. With the skill installed, say: "use the before-after-slider-scrub shot card". Read the card first: references/shots/data/before-after-slider-scrub.md.

Source on GitHub
Needs (the whole pack)

Remotion 4 and React 19, and FFmpeg for its checks. No Tailwind, no CSS files, no web fonts.

Re-skin

Edit the file (colors)

No props. It uses no named look: about 2 color values are written in the demo. Fonts come from the shared fixture files (FONT in Polish.tsx, type() in Look.tsx).

License

Apache-2.0

License notes are on the pack's page

From

video-shotcraft

Everything from video-shotcraft in the gallery

Back to the Asset Library