Crew of One
A credits roll, Written by / Directed by / Shipped by, all pointing at a big "you". A free, MIT-licensed Remotion text animation.
$ pnpm dlx shadcn@latest add @remocn/crew-of-oneUsage
// 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. Load the 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. Load the 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"