# Lift transition

The old scene lifts up and fades. It is all but gone before the next one starts, so two headlines never overlap. It is a move: the old scene itself is taken out and the next one comes in behind.

> Live preview: see the transition playing at https://bettertyped.github.io/react-wrapped/docs/transitions/lift/

## Usage

Every scene already has a transition: the video's seed picks one per scene, so two videos rarely cut the same way. To choose one yourself, name it for that scene in the config.

```tsx
import { DEFAULT_WRAPPED_CONFIG, type WrappedConfig } from "@react-wrapped/kit";

const config: WrappedConfig = {
  ...DEFAULT_WRAPPED_CONFIG,
  // The scene with the key "total" leaves with Lift.
  cuts: { total: "lift" },
};
```

## How it works

A move animates the outgoing scene itself and marks the moment the next scene should start. The next scene comes in as the last of the old one leaves, so two headlines never sit on top of each other.

Transitions are placed on the same GSAP timeline as the scenes. Seeking backwards through one undoes it exactly, which is what makes the timeline scrubbable and the video exportable frame by frame.

## Related

- [Transitions](https://bettertyped.github.io/react-wrapped/docs/transitions/)
- [Wipe transition](https://bettertyped.github.io/react-wrapped/docs/transitions/wipe/)
- [Drop transition](https://bettertyped.github.io/react-wrapped/docs/transitions/drop/)
- [Arrow transition](https://bettertyped.github.io/react-wrapped/docs/transitions/arrow/)
- [Charts](https://bettertyped.github.io/react-wrapped/docs/charts/)

Source: https://bettertyped.github.io/react-wrapped/docs/transitions/lift/
