Crew of One
Mock movie credits roll for Remotion: Written by, Directed by, Shipped by roll up and all point at one big name, a solo-builder credits joke ending on you.
In Remotion, Crew of One is a mock credits roll: lines like Written by, Directed by and Shipped by roll upward one after another, then gather under one big name, "you" by default, as the joke. Use it as a closing credits beat or a solo-builder message in a launch or demo video.
$ pnpm dlx shadcn@latest add @remocn/crew-of-oneHow to build this in Remotion
You don't have to build the roll by hand with useCurrentFrame(), interpolate() and measureText. Install the component and pass your roles:
npx shadcn@latest add @remocn/crew-of-oneThe roll is one scene with a schedule in timeline.ts that spaces the roles across the composition; the motion runs on interpolate() with Easing curves, and the copy is measured before the first frame (held with delayRender) so the roles line up under the name.
Good to know
- Length: 138 frames of motion at 30 fps (276 at 60 fps) with the default props. That is the minimum for its
Sequence; add your own hold on top (the demo plays 170 frames). The Usage example below is a 60 fps composition, so the numbers it hands to Remotion are doubled, see Frame rate. - Length stretch: the schedule spreads the roles over the whole
durationInFrames(at least 90 frames at 30 fps), so a longer composition rolls slower instead of freezing. - Installs:
remotion,@remotion/google-fontsfrom npm, plus the remocn helpersglide,frame-rate,timeline. The shadcn CLI copies the source into your project. - Font: loads Gabarito itself through
@remotion/google-fonts. PassfontFamilyto use your own face, and load that font in your project.
Usage
// src/Root.tsx
import { Composition } from "remotion";
import { CrewOfOne } from "@/components/remocn/crew-of-one";
const CrewOfOneScene = () => <CrewOfOne roles={["Written by", "Directed by", "Shipped by"]} name="you" />;
export const RemotionRoot = () => (
<Composition
id="CrewOfOne"
component={CrewOfOneScene}
durationInFrames={340}
fps={60}
width={1280}
height={720}
/>
);Credit-style role lines roll upward in turn, then gather into place under a large name that has been waiting at the center. Pass roles (one string per credit) and name; it spaces the roll to fit the composition length.
Props12
| Prop | Type | Default |
|---|---|---|
| roles | string[]— Credit lines such as Written by, rolled in order. | |
| name | string"you" The big name all roles point at. | |
| accent | string— Color of the name; 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. The default is loaded for you; load any other font in your project first. | |
| fontWeight | number400 Weight of the roles. | |
| nameScale | number2.3 Size of the name relative to the roles. | |
| 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. | |
- rolesstring[]
Credit lines such as Written by, rolled in order.
- namestring
The big name all roles point at.
Default
"you" - accentstring
Color of the name; 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. The default is loaded for you; load any other font in your project first.
Default
"Gabarito" - fontWeightnumber
Weight of the roles.
Default
400 - nameScalenumber
Size of the name relative to the roles.
Default
2.3 - 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"
Common questions
How do I build a mock credits roll in Remotion that all points at one big 'you'?
Install Crew of One with npx shadcn@latest add @remocn/crew-of-one, pass roles such as Written by, Directed by, Shipped by, and keep name="you" or pass a real name.
Do I need to load the Gabarito font?
No. The component loads Gabarito itself. Load a font yourself only when you pass a different fontFamily.
Related effects
- Feature Trio: three feature words, 'Fast. Composable. Open source.', rise from masks with progress ticks and notes.
- And You: a list of audiences ("For the founder who...") ends on a big "and you."
- They Are You: short statements about someone rise one by one, then the leading They flips to an accent You in each.