Production-ready animations, transitions, backgrounds, and scenes for Remotion
TypeScript ai-agentsclaude-codedemo-videomcpmcp-servermodel-context-protocolmotion-designproduct-demoreactremotionshadcnvideo
---
title: Short Slide Right
description: The whole phrase glides in from the left while words reveal in sequence through opacity
component: short-slide-right
vibe: clean
length: 60
useWhen:
- "A short headline should enter with horizontal momentum — reads as forward motion or progress."
- "You want word-level opacity stagger layered on top of a single group translation, giving depth without complexity."
- "The composition requires a fast (60f) entrance that feels purposeful and directional."
avoidWhen:
- "You are transitioning between two texts — use `shared-axis-z` (depth) or `shared-axis-y` (vertical swap) which handle the outgoing content."
- "You want vertical stacking motion — use `short-slide-down` where each word drops onto its own line to build a layout."
- "The slide distance needs to be large or cinematic — `short-slide-right` is intentionally compact (default 24px); use a custom composition for a wide pan."
askedAs:
- "phrase glides in from left"
- "forward motion headline"
- "I want the whole line sliding in horizontally with words fading in order"
- "headline entering with momentum to suggest progress"
- "a progress or next step message that moves left to right"
- "viewer senses moving forward as the phrase slides across"
---
<ComponentPreview name="short-slide-right" />
<InstallBlock name="short-slide-right" />
## Usage
```tsx
// src/Root.tsx
import { Composition } from "remotion";
import { ShortSlideRight } from "@/components/remocn/short-slide-right";
const ShortSlideRightScene = () => (
<ShortSlideRight text="Move with intent." distance={24} staggerDelay={3} />
);
export const RemotionRoot = () => (
<Composition
id="ShortSlideRight"
component={ShortSlideRightScene}
durationInFrames={60}
fps={30}
width={1280}
height={720}
/>
);
```
The whole phrase shares one compact left-to-right slide while the words themselves reveal only through a staggered opacity cascade — motion stays controlled, the word order reads clearly.
### With Backdrop
The component renders transparent — supply the background via `Backdrop`. It ships single-theme; edit the copied file to re-theme colors.
Pair with `Backdrop` to place the text inside a full-frame fill with a rounded, shadowed content frame:
```tsx
import { Composition } from "remotion";
import { ShortSlideRight } from "@/components/remocn/short-slide-right";
import { Backdrop } from "@/components/remocn/backdrop";
const ShortSlideRightScene = () => (
<Backdrop fill={{ type: "color", value: "#ffffff" }}>
<ShortSlideRight text="Move with intent." distance={24} staggerDelay={3} />
</Backdrop>
);
export const RemotionRoot = () => (
<Composition
id="ShortSlideRight"
component={ShortSlideRightScene}
durationInFrames={60}
fps={30}
width={1280}
height={720}
/>
);
```
<PropsTable title="Props"
rows={[
{
name: "text",
type: "string",
required: true,
description: "The text to reveal",
},
{
name: "distance",
type: "number",
default: "24",
description: "Horizontal slide distance in pixels the whole phrase travels from the left.",
},
{
name: "staggerDelay",
type: "number",
default: "3",
description: "Per-word delay in frames for the opacity reveal cascade.",
},
{
name: "fontSize",
type: "number",
default: "72",
description: "Font size in pixels",
},
{
name: "fontWeight",
type: "number",
default: "600",
description: "CSS font-weight",
},
{
name: "color",
type: "string",
default: "\"#171717\"",
description: "Text color (any valid CSS color)",
},
{
name: "className",
type: "string",
description: "Optional className passed to the phrase container span",
},
]}
/>