Grid Cell
A grid cell lights up in a graph-paper field and a headline is typed into it with a mono label. A free, MIT-licensed Remotion text animation.
$ pnpm dlx shadcn@latest add @remocn/grid-cellUsage
// src/Root.tsx
import { Composition } from "remotion";
import { GridCell } from "@/components/remocn/grid-cell";
const GridCellScene = () => (
<GridCell title="Introducing remocn 2.0" label="v2.0" accent="#3B5BFD" />
);
export const RemotionRoot = () => (
<Composition
id="GridCell"
component={GridCellScene}
durationInFrames={340}
fps={60}
width={1280}
height={720}
/>
);A grid fades in from the center, cells merge into one that frames the headline, the label appears in the corner, and the title is typed in with a caret before the grid dims. Pass title and label; it ships light and dark through theme.
Props12
| Prop | Type | Default |
|---|---|---|
| title | string"Introducing remocn 2.0" Headline typed into the cell | |
| label | string"v2.0" Tiny mono label in the cell corner | |
| stagger | number1.5 Frames between typed characters. | |
| cellSize | number80 Grid cell size at 1280 wide; 80 tiles the frame 16 × 9. | |
| accent | string"#3B5BFD" Accent color (any valid CSS color) | |
| ink | string— Text color; overrides the theme ink. | |
| background | string— Background fill; pass "transparent" to drop it. | |
| fontFamily | string"Geist" Typeface for the copy. Load the font in your project first. | |
| scale | number1 Size of the foreground around the frame's center; the background stays put. | |
| delay | number0 Frames to hold the first frame before anything moves. | |
| speed | number1 Playback speed multiplier | |
| theme | "dark" | "light""dark" Ships light and dark palettes | |
- titlestring
Headline typed into the cell
Default
"Introducing remocn 2.0" - labelstring
Tiny mono label in the cell corner
Default
"v2.0" - staggernumber
Frames between typed characters.
Default
1.5 - cellSizenumber
Grid cell size at 1280 wide; 80 tiles the frame 16 × 9.
Default
80 - accentstring
Accent color (any valid CSS color)
Default
"#3B5BFD" - inkstring
Text color; overrides the theme ink.
- backgroundstring
Background fill; pass "transparent" to drop it.
- fontFamilystring
Typeface for the copy. Load the font in your project first.
Default
"Geist" - scalenumber
Size of the foreground around the frame's center; the background stays put.
Default
1 - delaynumber
Frames to hold the first frame before anything moves.
Default
0 - speednumber
Playback speed multiplier
Default
1 - theme"dark" | "light"
Ships light and dark palettes
Default
"dark"