Bug Dock
TV broadcast title for Remotion: the brand logo shrinks into a small corner bug at the bottom while the headline takes over the screen, with one phrase highlighted.
In Remotion, Bug Dock is a TV-broadcast style title: the brand lockup shrinks down until only the mark is left, which docks at the bottom of the frame like a corner bug while the main message takes over the screen. Use it for a broadcast-style launch title with one phrase highlighted.
$ pnpm dlx shadcn@latest add @remocn/bug-dockHow to build this in Remotion
You don't need @remotion/transitions or an Img per step. Install the component and pass your name and headline:
npx shadcn@latest add @remocn/bug-dockThe name's letters tuck away and the mark docks with interpolate() on Easing.bezier curves; letter widths are measured on a canvas before the first frame (held with delayRender). The headline words rise on the schedule in timeline.ts; tuckAt moves the tuck.
Good to know
- Length: 114 frames of motion at 30 fps (228 at 60 fps) with the default props; the demo plays 150 frames, which adds a hold. The timing is fixed: a longer composition only holds the last frame longer. The Usage example below is a 60 fps composition, so the numbers it hands to Remotion are doubled, see Frame rate.
- Installs:
remotion,@remotion/google-fontsfrom npm, plus the remocn helpersglide,frame-rate,timeline. The shadcn CLI copies the source into your project. - Fonts: loads Urbanist (variable) and Manrope itself through
@remotion/google-fonts. PassfontFamilyto use your own face, and load it in your project. - There is no prop for a custom logo image or SVG.
name="remocn"draws the remocn mark; any other name uses its first letter as the mark and tucks the rest away. For your own logo, replace the mark in the copied file. - The dock position is fixed in the source; there is no prop for corner versus bottom center.
Usage
// src/Root.tsx
import { Composition } from "remotion";
import { BugDock } from "@/components/remocn/bug-dock";
const BugDockScene = () => <BugDock name="remocn" headline="Playing on every screen you ship." highlight="every screen" />;
export const RemotionRoot = () => (
<Composition
id="BugDock"
component={BugDockScene}
durationInFrames={300}
fps={60}
width={1280}
height={720}
/>
);A large logo-and-name lockup fades in, its letters tuck away until only the mark remains, and the mark docks to the bottom corner like a broadcast bug while the headline appears with one phrase highlighted. Pass name ("remocn" uses the real logo), headline and highlight.
Props13
| Prop | Type | Default |
|---|---|---|
| name | string"remocn" Brand name; "remocn" renders the real logo, anything else a wordmark. | |
| headline | string"Playing on every screen you ship." Headline text shown after the brand docks. | |
| highlight | string"every screen" Phrase in the headline set in the accent color. | |
| accent | string— Color for the highlighted phrase; 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"Urbanist" Typeface for the copy. Urbanist loads by default; load any other face in your project first. | |
| tuckAt | number34 Frame the name starts tucking into its first letter. | |
| stagger | number2.5 Frames between words of the headline. | |
| 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. | |
- namestring
Brand name; "remocn" renders the real logo, anything else a wordmark.
Default
"remocn" - headlinestring
Headline text shown after the brand docks.
Default
"Playing on every screen you ship." - highlightstring
Phrase in the headline set in the accent color.
Default
"every screen" - accentstring
Color for the highlighted phrase; 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. Urbanist loads by default; load any other face in your project first.
Default
"Urbanist" - tuckAtnumber
Frame the name starts tucking into its first letter.
Default
34 - staggernumber
Frames between words of the headline.
Default
2.5 - 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"
Common questions
How do I do a TV-broadcast style title in Remotion where the logo shrinks into a corner bug?
Install Bug Dock with npx shadcn@latest add @remocn/bug-dock and pass name, headline and highlight.
Can I use my own logo?
Not through a prop. The first letter of name becomes the mark; swap in your SVG in the copied file.
Related effects
- Soft Blur In: the headline alone with no logo lockup.
- Logo Enter: a row of brand marks entering.
- Feature Headline: a feature spotlight with a New tag.
- Walkout Name: a boxing-style name intro.