Production-ready animations, transitions, backgrounds, and scenes for Remotion
TypeScript ai-agentsclaude-codedemo-videomcpmcp-servermodel-context-protocolmotion-designproduct-demoreactremotionshadcnvideo
---
title: Slash Wipe
description: "A gradient slash wipes across and reveals a large title, '/transitions', with a one-line sub"
component: slash-wipe
vibe: premium
length: 60
useWhen:
- "A section title card where a bright slash wipes across and reveals a big title with a one-line sub."
- "A tour of product areas, one title per slash, each with a short description."
avoidWhen:
- "You need a single headline with no wipe between sections — use `scan-reveal`."
- "The titles should scroll as a list — use `index-list`."
askedAs:
- "bright slash reveals title"
- "gradient diagonal wipe heading"
- "I want a glowing slash sweeping across to reveal a big title with a subline"
- "section title card for a docs or feature category"
- "chapter heading that appears as a diagonal light cut crosses the screen"
- "viewer sees a new section announced with a dramatic stroke"
---
<ComponentPreview name="slash-wipe" />
<InstallBlock name="slash-wipe" />
## Usage
```tsx
// src/Root.tsx
import { Composition } from "remotion";
import { SlashWipe } from "@/components/remocn/slash-wipe";
const SlashWipeScene = () => (
<SlashWipe sections={[{ title: "captions", sub: "Styles that follow every word." }, { title: "transitions", sub: "Cuts that land on the beat." }]} />
);
export const RemotionRoot = () => (
<Composition
id="SlashWipe"
component={SlashWipeScene}
durationInFrames={110}
fps={30}
width={1280}
height={720}
/>
);
```
A gradient slash sweeps across the frame and reveals the first title, then another slash wipes in the next, each with a one-line sub. Pass `sections` (title and optional sub) and your own `logo`; it ships light and dark.
<PropsTable title="Props"
rows={[
{
name: "sections",
type: "SlashSection[]",
default: "DEFAULT_SECTIONS",
description: "Titles with optional sub, each revealed by a slash.",
},
{
name: "every",
type: "number",
default: "56",
description: "Frames between one section and the next.",
},
{
name: "logo",
type: "React.ReactNode",
description: "Custom logo node shown in place of the built-in mark.",
},
{
name: "accent",
type: "string",
default: "\"#3B5BFD\"",
description: "Accent colour (any CSS colour).",
},
{
name: "background",
type: "string",
description: "Overrides the theme background colour.",
},
{
name: "speed",
type: "number",
default: "1",
description: "Playback multiplier; above 1 plays faster.",
},
{
name: "theme",
type: "\"dark\" | \"light\"",
default: "\"dark\"",
description: "Colour scheme; ships light and dark.",
},
]}
/>