# Arrow transition

The same crossing as Slash, led by a point. It reads as a direction, so it suits a scene that moves the story forward. It is a cover: it takes the whole frame and the next scene starts underneath it.

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

## 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 Arrow.
  cuts: { total: "arrow" },
};
```

## How it works

A cover is a few big shapes, three layers deep, in the palette's levels two, three and four. The layers follow each other by a beat, so the cover's edge is a band of colours and never one hard line. The next scene starts under the closed cover, so it clears onto a scene that is already playing.

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/)
- [Slash transition](https://bettertyped.github.io/react-wrapped/docs/transitions/slash/)
- [Wave transition](https://bettertyped.github.io/react-wrapped/docs/transitions/wave/)
- [Blink transition](https://bettertyped.github.io/react-wrapped/docs/transitions/blink/)
- [Charts](https://bettertyped.github.io/react-wrapped/docs/charts/)

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