Week Shipped
A week-recap list rolls day by day in heavy type, each day followed by what shipped. A free, MIT-licensed Remotion text animation.
$ pnpm dlx shadcn@latest add @remocn/week-shippedUsage
// src/Root.tsx
import { Composition } from "remotion";
import { WeekShipped } from "@/components/remocn/week-shipped";
const WeekShippedScene = () => (
<WeekShipped entries={[{ day: "Monday,", item: "captions that keep up." }, { day: "Tuesday,", item: "shaders you can scrub." }]} />
);
export const RemotionRoot = () => (
<Composition
id="WeekShipped"
component={WeekShippedScene}
durationInFrames={300}
fps={60}
width={1280}
height={720}
/>
);Each entry rolls in as a day name followed by its shipped item, stepping through the week at a fitted pace. Pass entries with day and item for each line. It ships in light and dark through the theme prop.
Props11
| Prop | Type | Default |
|---|---|---|
| entries | WeekShippedEntry[]DEFAULT_ENTRIES List of `{ day, item }` pairs, one per line. | |
| beat | number13 Frames between one day and the next. | |
| hold | number36 Frames the last day holds before the end. | |
| accent | string— Accent color override; falls back to the theme accent. | |
| ink | string— Text color; overrides the theme ink. | |
| background | string— Background color override; falls back to the theme background. | |
| fontFamily | string"Unbounded" 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 for the whole timeline. | |
| theme | "dark" | "light""dark" Ships light and dark; picks the palette. | |
- entriesWeekShippedEntry[]
List of `{ day, item }` pairs, one per line.
Default
DEFAULT_ENTRIES - beatnumber
Frames between one day and the next.
Default
13 - holdnumber
Frames the last day holds before the end.
Default
36 - accentstring
Accent color override; falls back to the theme accent.
- inkstring
Text color; overrides the theme ink.
- backgroundstring
Background color override; falls back to the theme background.
- fontFamilystring
Typeface for the copy. Load the font in your project first.
Default
"Unbounded" - 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 for the whole timeline.
Default
1 - theme"dark" | "light"
Ships light and dark; picks the palette.
Default
"dark"