Tile Wave
A diagonal wave shrinks a grid of tiles away and regrows them as the next scene on a blue gradient. A free, MIT-licensed Remotion transition.
$ pnpm dlx shadcn@latest add @remocn/tile-waveUsage
// src/Root.tsx
import { Composition } from "remotion";
import { TileWave } from "@/components/remocn/tile-wave";
const TileWaveScene = () => (
<TileWave
from="Idea."
to="Shipped."
rows={8}
accent="#3B5BFD"
/>
);
export const RemotionRoot = () => (
<Composition
id="TileWave"
component={TileWaveScene}
durationInFrames={188}
fps={60}
width={1280}
height={720}
/>
);The from scene holds for delay frames, then a diagonal wave shrinks the tile grid of the outgoing scene to dots and regrows the tiles carrying the to scene on a cold blue gradient. Pass from and to as short text or any React node, and raise rows for finer tiles; theme sets the stage between the tiles. The wave lands by frame 64 and the gradient settles by frame 94 with the default delay.
Props14
| Prop | Type | Default |
|---|---|---|
| from | React.ReactNode"Idea." Outgoing scene: a short headline or any React node | |
| to | React.ReactNode"Shipped." Incoming scene, set on a blue gradient panel | |
| rows | number8 Number of tile rows; columns follow the aspect ratio | |
| delay | number16 Frames the outgoing scene holds before the wave | |
| spread | number26 Frames the wave takes to cross the frame, corner to corner | |
| swap | number22 Frames each tile takes to shrink and grow back | |
| accent | string"#3B5BFD" Color of the trailing period on text headlines | |
| ink | string— Color of the outgoing headline; overrides the theme ink. | |
| background | string— Stage fill seen between the tiles; pass "transparent" to drop it. | |
| fontFamily | string"Space Grotesk" Typeface for text headlines. Load the font in your project first. | |
| scale | number1 Size of text headlines around the frame's center; the scene panels stay put. | |
| grain | booleantrue Film grain over the scene. | |
| speed | number1 Playback multiplier for the whole timeline | |
| theme | "dark" | "light""dark" Stage tone seen between tiles; the outgoing scene takes the other | |
- fromReact.ReactNode
Outgoing scene: a short headline or any React node
Default
"Idea." - toReact.ReactNode
Incoming scene, set on a blue gradient panel
Default
"Shipped." - rowsnumber
Number of tile rows; columns follow the aspect ratio
Default
8 - delaynumber
Frames the outgoing scene holds before the wave
Default
16 - spreadnumber
Frames the wave takes to cross the frame, corner to corner
Default
26 - swapnumber
Frames each tile takes to shrink and grow back
Default
22 - accentstring
Color of the trailing period on text headlines
Default
"#3B5BFD" - inkstring
Color of the outgoing headline; overrides the theme ink.
- backgroundstring
Stage fill seen between the tiles; pass "transparent" to drop it.
- fontFamilystring
Typeface for text headlines. Load the font in your project first.
Default
"Space Grotesk" - scalenumber
Size of text headlines around the frame's center; the scene panels stay put.
Default
1 - grainboolean
Film grain over the scene.
Default
true - speednumber
Playback multiplier for the whole timeline
Default
1 - theme"dark" | "light"
Stage tone seen between tiles; the outgoing scene takes the other
Default
"dark"