Primitives
Slide Left
Slide left with fade animation.
Primitiveatoms
Install
npx remotion-ui@latest add slide-leftSlide left with fade animation.
Live preview
AI usage
Install first, then import the copied source component locally.
Install
npx remotion-ui@latest add slide-leftImport after install
@/remotion/primitives/slide-left- Use when: frame-level motion primitives and reusable animation wrappers.
- Customize: durationInFrames, delayInFrames, distance, plus copied source for timing, layout, colors, and typography.
- Rule: do not import this component from the
remotion-uinpm package; it is copied into your project.
Usage
import { SlideLeft } from "@/remotion/primitives/slide-left";
<SlideLeft distance={60}>
<p>Slide in from the left</p>
</SlideLeft>API Reference
| Prop | Type | Default | Description |
|---|---|---|---|
| children* | ReactNode | — | Content to animate. |
| durationInFrames | number | 30 | Length of the enter animation in frames. |
| delayInFrames | number | 0 | Frames to wait before the animation starts. |
| distance | number | 60 | Horizontal offset in pixels at the start of the animation. |