Skip to content

Production-ready animations, transitions, backgrounds, and scenes for Remotion

2.1 KB
Raw Blame
---
title: Focus Pull
description: Rack focus from one scene to the next through a soft defocus breath
component: focus-pull
vibe: premium
length: 46
useWhen:
  - "The tone is refined and editorial — premium product films, calm brand moments, testimonials."
  - "Scenes shift attention rather than location — a neutral, cinematic alternative to `fade-through`."
  - "Adjacent scenes share a similar palette — the defocus blends them seamlessly."
avoidWhen:
  - "The cut needs energy or direction — use `whip-pan` or `push-through`."
  - "Fine text must stay legible up to the cut — the defocus starts eating detail early."
askedAs:
  - "rack focus blur between scenes"
  - "soft defocus scene change"
  - "I want the camera to go out of focus then sharpen on the next scene"
  - "calm premium cut for brand film or testimonial"
  - "shift attention gently like a lens refocusing"
  - "scene blurs softly and the next one comes into sharp focus"
---

<ComponentPreview name="focus-pull" />

<InstallBlock name="focus-pull" />

## Usage

`focusPull()` is a Remotion transition presentation. Pass it to a
`TransitionSeries.Transition` between two sequences. The outgoing scene drifts
out of focus and brightens like an over-exposed bokeh, the incoming scene
resolves from the same blur and settles into sharpness with a gentle lens
breath. Calm and editorial — give it around 46 frames.

```tsx
import { TransitionSeries, linearTiming } from "@remotion/transitions";
import { focusPull } from "@/components/remocn/focus-pull";

export const MyVideo = () => (
  <TransitionSeries>
    <TransitionSeries.Sequence durationInFrames={80}>
      <SceneA />
    </TransitionSeries.Sequence>
    <TransitionSeries.Transition
      timing={linearTiming({ durationInFrames: 46 })}
      presentation={focusPull()}
    />
    <TransitionSeries.Sequence durationInFrames={80}>
      <SceneB />
    </TransitionSeries.Sequence>
  </TransitionSeries>
);
```

## Props

`focusPull(props)` accepts:

<PropsTable
  rows={[
    {
      name: "blur",
      type: "number",
      default: "16",
      description: "Maximum defocus blur in pixels at the handoff point.",
    },
  ]}
/>