Extrude Pop
3D extruded text pop for Remotion: one short word like a score or verdict rises off the page on a solid colored extruded body, flat 2D with no camera or three.js.
In Remotion, Extrude Pop makes a single short word, like a score or a verdict, pop up off the page on a solid colored 3D extruded body, without a camera move. It is a flat 2D effect for a poster-style CTA, verdict or score beat.
$ pnpm dlx shadcn@latest add @remocn/extrude-popHow to build this in Remotion
You don't need @remotion/three, react-three-fiber, TextGeometry or Text3D. Install the component and pass your word:
npx shadcn@latest add @remocn/extrude-popThe body is a stack of SVG text copies offset along a fixed angle, so it renders the same in every browser and every Remotion render. One interpolate() with an Easing.bezier ease-out grows the extrusion depth; the word is fitted to maxTextWidth with a canvas text measurement.
Good to know
- Length: 48 frames of motion at 30 fps (96 at 60 fps) with the default props. The Usage example below is a 60 fps composition, so the numbers it hands to Remotion are doubled, see Frame rate.
- Installs:
remotionfrom npm, plus the remocn helpersglide,frame-rate,timeline. The shadcn CLI copies the source into your project. - Font: a system stack,
'Helvetica Neue', Helvetica, Arial, sans-serif, so there is nothing to load. PassfontFamilyfor your own face and load it in your project. - Colors:
bodyColordefaults to#e8192bandfaceColorto#ffffff. The extrusion angle isextrudeAngleDeg(default −58.6) and the smoothness isextrudeSteps(default 200 layers). - The timing is
extrudeStartFrameandextrudeEndFrame(0 and 48 by default); after that the word holds.
Usage
// src/Root.tsx
import { Composition } from "remotion";
import { ExtrudePop } from "@/components/remocn/extrude-pop";
const ExtrudePopScene = () => (
<ExtrudePop letter="WIN" bodyColor="#e8192b" faceColor="#ffffff" />
);
export const RemotionRoot = () => (
<Composition
id="ExtrudePop"
component={ExtrudePopScene}
durationInFrames={180}
fps={60}
width={1920}
height={1080}
/>
);The body is the same glyph swept along the extrusion vector — a morphological dilation drawn as stacked copies, back-to-front, with the white face riding the near end. Face travel and extrusion depth are keyframed together, which is what makes the word read as lifting off a plane rather than growing a shadow.
Props14
| Prop | Type | Default |
|---|---|---|
| letter | string"WIN" The text to extrude — one short word reads best | |
| bodyColor | string"#e8192b" Color of the extruded body | |
| faceColor | string"#ffffff" Color of the front face | |
| fontFamily | string"'Helvetica Neue', Helvetica, Arial, sans-serif" Font family of the glyph | |
| fontWeight | number | string700 Font weight | |
| fontSize | number603 Font size in comp pixels | |
| maxTextWidth | number1660 Longer text auto-shrinks (font size and extrusion depth together) to fit this width in comp pixels | |
| basePosition | [number, number][959.2, 752.5] Baseline anchor of the body layer in comp pixels | |
| minimaxRadius | number80 Dilation radius. The extrusion depth is twice this | |
| extrudeAngleDeg | number-58.6 Direction of the extrusion in degrees | |
| extrudeSteps | number200 Copies making up the body — above the depth in pixels it is seamless | |
| extrudeStartFrame / extrudeEndFrame | number0 / 48 The pop window. The extrusion eases out and holds after the end frame | |
| width / height | number1920 / 1080 Coordinate space of the composition | |
| className | string— Optional className passed to the wrapper | |
- letterstring
The text to extrude — one short word reads best
Default
"WIN" - bodyColorstring
Color of the extruded body
Default
"#e8192b" - faceColorstring
Color of the front face
Default
"#ffffff" - fontFamilystring
Font family of the glyph
Default
"'Helvetica Neue', Helvetica, Arial, sans-serif" - fontWeightnumber | string
Font weight
Default
700 - fontSizenumber
Font size in comp pixels
Default
603 - maxTextWidthnumber
Longer text auto-shrinks (font size and extrusion depth together) to fit this width in comp pixels
Default
1660 - basePosition[number, number]
Baseline anchor of the body layer in comp pixels
Default
[959.2, 752.5] - minimaxRadiusnumber
Dilation radius. The extrusion depth is twice this
Default
80 - extrudeAngleDegnumber
Direction of the extrusion in degrees
Default
-58.6 - extrudeStepsnumber
Copies making up the body — above the depth in pixels it is seamless
Default
200 - extrudeStartFrame / extrudeEndFramenumber
The pop window. The extrusion eases out and holds after the end frame
Default
0 / 48 - width / heightnumber
Coordinate space of the composition
Default
1920 / 1080 - classNamestring
Optional className passed to the wrapper
Inspired by 5 Clean Text Animations by Mapal.
Common questions
How do I make a short word pop off the page with a solid 3D extruded body in Remotion, without a camera move?
Install Extrude Pop with npx shadcn@latest add @remocn/extrude-pop and pass the word as letter. A solid colored body grows behind the face over 48 frames; no three.js is involved.
Can it handle a whole sentence?
Keep it to one short word. The extruded body doubles the ink and long or small text turns to mush.
Can I change the color and angle?
Yes: bodyColor, faceColor, extrudeAngleDeg and extrudeSteps are props.
Related effects
- Spring Scale In: a softer pop with a springy overshoot.
- Full Bleed Type: huge condensed caps words slam in.
- Edge Fit: one word fitted edge to edge.
- Stretch In: a heavy word flies in with smeared letters.