CTA Collapse Mark
A call to action collapses into pixels that rebuild the Remocn wordmark, with a URL beneath. A free, MIT-licensed Remotion logo animation.
$ pnpm dlx shadcn@latest add @remocn/cta-collapse-markUsage
// src/Root.tsx
import { Composition } from "remotion";
import { CtaCollapseMark } from "@/components/remocn/cta-collapse-mark";
const CtaCollapseMarkScene = () => (
<CtaCollapseMark
cta="Ship your first launch film"
url="remocn.dev"
accent="#3B5BFD"
/>
);
export const RemotionRoot = () => (
<Composition
id="CtaCollapseMark"
component={CtaCollapseMarkScene}
durationInFrames={276}
fps={60}
width={1280}
height={720}
/>
);The call to action fades in word by word with the URL beneath it, then its glyphs shed and fly into the cells of the R mark, which snaps together before the rest of the wordmark springs in. Pass cta, url and accent to make it yours; the wordmark is the baked-in Remocn logo. Ships light and dark.
The ground is a live gradients.sh shader (GshGround), installed with the component as @remocn/gsh. Pick another look with the ground preset prop.
Props14
| Prop | Type | Default |
|---|---|---|
| theme | "dark" | "light""dark" Dark or light palette and ground. | |
| accent | string"#3B5BFD" Accent colour for the mark and URL. | |
| cta | string"Ship your first launch film" Call-to-action line that collapses into the logo. | |
| url | string"remocn.dev" URL set beneath the call to action. | |
| stagger | number2 Frames between words as the call to action comes in. | |
| logo | React.ReactNode— Replaces the remocn mark. | |
| ink | string— Text color; overrides the theme ink. | |
| background | string— Solid fill in place of the gradient ground; pass "transparent" to drop it. | |
| fontFamily | string"Manrope" Typeface for the call to action and URL. 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. | |
| ground | GshPresetId— Shader preset id for the gradients.sh background ground. | |
| groundParams | Partial<GradientParams>— Custom shader parameters for the ground, used instead of the theme default. | |
- theme"dark" | "light"
Dark or light palette and ground.
Default
"dark" - accentstring
Accent colour for the mark and URL.
Default
"#3B5BFD" - ctastring
Call-to-action line that collapses into the logo.
Default
"Ship your first launch film" - urlstring
URL set beneath the call to action.
Default
"remocn.dev" - staggernumber
Frames between words as the call to action comes in.
Default
2 - logoReact.ReactNode
Replaces the remocn mark.
- inkstring
Text color; overrides the theme ink.
- backgroundstring
Solid fill in place of the gradient ground; pass "transparent" to drop it.
- fontFamilystring
Typeface for the call to action and URL. Load the font in your project first.
Default
"Manrope" - 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 - groundGshPresetId
Shader preset id for the gradients.sh background ground.
- groundParamsPartial<GradientParams>
Custom shader parameters for the ground, used instead of the theme default.