RemotionUI

Skew In

Lean in and straighten up — an editorial entrance built from shear plus travel. Install with npx remotion-ui@latest add skew-in.

PrimitivePrimitives

skew-in30fps · 960×540
Install
$ npx remotion-ui@latest add skew-in

Leans in and straightens up. A shear and a slide, opposed on purpose.

Why the shear opposes the travel

The element leans into the direction it is travelling from, so it looks dragged upright by its own momentum rather than sliding in pre-formed. That opposition is the whole component — slide-left with a skew() in style leans the other way and reads as a wobble.

import { SkewIn } from "@/remotion/primitives/skew-in";

<SkewIn skew={16} travel={72} durationInFrames={40}>
  <h1>Leans in, straightens up</h1>
</SkewIn>

Pivot

origin defaults to bottom left. A shear pivoted at the centre lifts the baseline of a headline, and the line below it visibly jumps as the shear resolves — put the pivot on the baseline corner and only the top of the element moves.

Exits

Like every wrapper primitive here, it takes exit, exitAtInFrames, exitInFrames and exitDirection from the shared enter/exit contract. Inside a <Sequence durationInFrames={n}>, exit alone lands the element out at the end of its slot. exitDirection="continue" carries the lean on through instead of straightening back.

The shear opposes the travel on purpose — the element looks dragged upright by its own momentum.

Agent notes

Install first, then import the copied source component locally. AI guide →

Import
@/remotion/primitives/skew-in
  • Use when: frame-level motion primitives and reusable animation wrappers.
  • Customize: skew, skewY, travel, direction, plus copied source for timing, layout, colors, and typography.
  • Rule: do not import this component from the remotion-ui npm package; it is copied into your project.

Usage

Example
import { SkewIn } from "@/remotion/primitives/skew-in"; <SkewIn skew={16} travel={72} durationInFrames={40}> <h1>Leans in, straightens up</h1> </SkewIn>

API Reference

PropTypeDescription
childrenReactNodeWhat leans in.
skewnumberHorizontal shear it starts at, in degrees.
skewYnumberVertical shear it starts at. Small values only.
travelnumberHow far it slides in, in px. Travels against the lean.
direction"left" | "right"Which way the element leans on the way in.
originTransformOriginPivot. A centre pivot lifts the baseline and the line below jumps.
durationInFramesnumberLength of the entrance.
delayInFramesnumberFrames to wait before it starts.
springMotionSpringDrive the entrance with a spring instead of the ease-out curve.
exitbooleanLand out at the end of the surrounding Sequence.
exitAtInFramesnumberFrame the exit starts on. Overrides the automatic timing.
exitInFramesnumberLength of the exit. Defaults to 70% of the entrance.
exitDirection"reverse" | "continue"Straighten back, or carry the lean on through.
blockbooleanFill the parent's width instead of shrink-wrapping.

Related

On this page