Acronym Expand
An acronym expands letter by letter into its full name, with an eyebrow above and a subhead below. A free, MIT-licensed Remotion text animation.
$ pnpm dlx shadcn@latest add @remocn/acronym-expandUsage
// src/Root.tsx
import { Composition } from "remotion";
import { AcronymExpand } from "@/components/remocn/acronym-expand";
const AcronymExpandScene = () => (
<AcronymExpand
short="SDK"
full="Software Development Kit"
eyebrow="Now available"
accent="#3B5BFD"
/>
);
export const RemotionRoot = () => (
<Composition
id="AcronymExpand"
component={AcronymExpandScene}
durationInFrames={240}
fps={60}
width={1280}
height={720}
/>
);The short form appears first, its letters spread apart and unfold into the full words, then the eyebrow and subhead fade in. Pass short, full, eyebrow and subhead to make it yours; it ships light and dark through theme.
Props14
| Prop | Type | Default |
|---|---|---|
| short | string"MCP" The acronym shown large before it expands | |
| full | string"Model Context Protocol" The full phrase the acronym expands into | |
| eyebrow | string"Now in remocn" Small label above the expanded phrase; empty to hide | |
| subhead | string"Your agent browses, installs and edits every component." One-line explanation under the phrase; empty to hide | |
| accent | string"#3B5BFD" Accent color (any valid CSS color) | |
| ink | string— Text color; overrides the theme ink. | |
| background | string— Overrides the theme's stage color | |
| fontFamily | string"Sora" Typeface for the copy. Load the font in your project first. | |
| expandAt | number38 Frame the acronym starts expanding into the full name; the eyebrow and subhead follow it. | |
| expandLength | number26 Frames each letter takes to travel to its place in the full name. | |
| 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 | |
- shortstring
The acronym shown large before it expands
Default
"MCP" - fullstring
The full phrase the acronym expands into
Default
"Model Context Protocol" - eyebrowstring
Small label above the expanded phrase; empty to hide
Default
"Now in remocn" - subheadstring
One-line explanation under the phrase; empty to hide
Default
"Your agent browses, installs and edits every component." - accentstring
Accent color (any valid CSS color)
Default
"#3B5BFD" - inkstring
Text color; overrides the theme ink.
- backgroundstring
Overrides the theme's stage color
- fontFamilystring
Typeface for the copy. Load the font in your project first.
Default
"Sora" - expandAtnumber
Frame the acronym starts expanding into the full name; the eyebrow and subhead follow it.
Default
38 - expandLengthnumber
Frames each letter takes to travel to its place in the full name.
Default
26 - 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"