Intelligence Glow
AI prompt scene for Remotion: a question rises under a breathing edge glow, the glow collapses into a line, and a serif-led answer resolves word by word.
In Remotion, Intelligence Glow builds an AI-style prompt scene: a question rises in under a breathing edge glow, the glow collapses into a line, and an answer led by a serif italic word resolves word by word. Use it for an AI feature beat that shows a prompt and its one-line result.
$ pnpm dlx shadcn@latest add @remocn/intelligence-glowHow to build this in Remotion
You don't need @remotion/noise, a typewriter helper or your own font loading. Install the component and pass the question and answer:
npx shadcn@latest add @remocn/intelligence-glowThe intro, the thinking glow, the squeeze into a line and the answer words are elements in timeline.ts; everything moves with interpolate() over Easing curves, and the glow is CSS radial gradients drifting across the frame.
Good to know
- Length: 148 frames of motion at 30 fps (296 at 60 fps) with the default props; the demo plays 180 frames, which adds a hold. 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 Instrument Sans for the copy, Instrument Serif italic for the answer's lead word, and Manrope itself, through
@remotion/google-fonts.fontFamilychanges the question and answer; the serif lead face is not a prop, so change it in the copied file. - Glow colors come from the theme (dark
#FFF4EC,#FFB36B,#E2457A; light#FFC83D,#FF8A3D,#FF3D9A,#7A5CFF);intensityscales the glow. background="transparent"drops the stage fill, and the glow still draws on top, so it can sit over other footage.
Usage
// src/Root.tsx
import { Composition } from "remotion";
import { IntelligenceGlow } from "@/components/remocn/intelligence-glow";
const IntelligenceGlowScene = () => (
<IntelligenceGlow
question="Cut a teaser for Friday?"
answerLead="Done."
answer="9 shots, timed to the beat."
showLogo={false}
/>
);
export const RemotionRoot = () => (
<Composition
id="IntelligenceGlow"
component={IntelligenceGlowScene}
durationInFrames={360}
fps={60}
width={1280}
height={720}
/>
);The question rises in word by word while a colored light breathes around the frame edge, shimmers through the words as it thinks, then collapses into a thin rule. The answerLead word resolves in serif italic, followed by the rest of the answer, and the logo fades in last. It ships light and dark; accent tints the glow on dark only.
Props16
| Prop | Type | Default |
|---|---|---|
| question | string"Make a launch film for Friday?" Asked while the edge glow breathes. | |
| answerLead | string"Done." First word of the answer, set in a serif italic. | |
| answer | string"14 shots, cut to the beat." Rest of the answer, resolves word by word after the lead. | |
| showLogo | booleantrue Show the Remocn logo under the answer on the poster frame. | |
| logo | React.ReactNode— Replaces the remocn mark. | |
| stagger | number4 Frames between answer words as they resolve. | |
| intensity | number1 Strength of the edge glow; 1 is the default light. | |
| accent | string"#3B5BFD" Replaces one glow color in the dark theme; unused in light. | |
| ink | string— Text color; overrides the theme ink. | |
| background | string— Background fill; pass "transparent" to drop it. | |
| fontFamily | string"Instrument Sans" Typeface for the question and answer. Instrument Sans loads itself; load any other face 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. | |
| grain | booleantrue Film grain over the scene. | |
| theme | "dark" | "light""dark" Light or dark palette. | |
| speed | number1 Playback speed multiplier for the whole timeline. | |
- questionstring
Asked while the edge glow breathes.
Default
"Make a launch film for Friday?" - answerLeadstring
First word of the answer, set in a serif italic.
Default
"Done." - answerstring
Rest of the answer, resolves word by word after the lead.
Default
"14 shots, cut to the beat." - showLogoboolean
Show the Remocn logo under the answer on the poster frame.
Default
true - logoReact.ReactNode
Replaces the remocn mark.
- staggernumber
Frames between answer words as they resolve.
Default
4 - intensitynumber
Strength of the edge glow; 1 is the default light.
Default
1 - accentstring
Replaces one glow color in the dark theme; unused in light.
Default
"#3B5BFD" - inkstring
Text color; overrides the theme ink.
- backgroundstring
Background fill; pass "transparent" to drop it.
- fontFamilystring
Typeface for the question and answer. Instrument Sans loads itself; load any other face in your project first.
Default
"Instrument Sans" - 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 - grainboolean
Film grain over the scene.
Default
true - theme"dark" | "light"
Light or dark palette.
Default
"dark" - speednumber
Playback speed multiplier for the whole timeline.
Default
1
Common questions
How do I make an AI prompt scene in Remotion with a glowing edge and a resolving answer?
Install Intelligence Glow with npx shadcn@latest add @remocn/intelligence-glow and pass question, answerLead and answer.
Can I change the serif face of the answer's first word?
Not through a prop: it is Instrument Serif italic. Swap the font in the copied file.
Related effects
- Typewriter: the answer typed out with a cursor and no glow.
- Answer First: the answer lands before the question.
- Soft Blur In: a calm letter-by-letter blur entrance.
- Prompt Restyle: typed instructions restyle a headline.