And You
A list of audiences ("For the founder who...") ends on a big "and you.". A free, MIT-licensed Remotion text animation.
$ pnpm dlx shadcn@latest add @remocn/and-youUsage
// src/Root.tsx
import { Composition } from "remotion";
import { AndYou } from "@/components/remocn/and-you";
const AndYouScene = () => <AndYou clauses={["For the founder who launches on Monday,", "the designer who just learned React,", "the two-person studio,"]} last="and you." />;
export const RemotionRoot = () => (
<Composition
id="AndYou"
component={AndYouScene}
durationInFrames={180}
fps={30}
width={1280}
height={720}
/>
);A list of audiences scrolls in clause by clause, each one stacking under the last, then they dim and a big closing phrase rises at the bottom of the frame. Pass clauses (one string per audience) and last for the closing words; it spaces the clauses to fit the composition length.
Props11
| Prop | Type | Default |
|---|---|---|
| clauses | string[]— Audience clauses, each shown in turn and stacked. | |
| last | string"and you." Closing words shown large at the bottom. | |
| accent | string— Color for the closing phrase; defaults to the theme accent. | |
| ink | string— Text color; overrides the theme ink. | |
| background | string— Stage fill color; pass "transparent" to overlay your own footage. | |
| fontFamily | string"Gabarito" Typeface for the copy. Load the font in your project first. | |
| stagger | number2 Frames between words as a clause builds. | |
| 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 multiplier for the whole timeline. | |
| theme | "dark" | "light""dark" Color scheme; ships dark and light. | |
- clausesstring[]
Audience clauses, each shown in turn and stacked.
- laststring
Closing words shown large at the bottom.
Default
"and you." - accentstring
Color for the closing phrase; defaults to the theme accent.
- inkstring
Text color; overrides the theme ink.
- backgroundstring
Stage fill color; pass "transparent" to overlay your own footage.
- fontFamilystring
Typeface for the copy. Load the font in your project first.
Default
"Gabarito" - staggernumber
Frames between words as a clause builds.
Default
2 - 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 multiplier for the whole timeline.
Default
1 - theme"dark" | "light"
Color scheme; ships dark and light.
Default
"dark"