Photo Halo
A headline pops up among scattered photos, which gather into a halo of thumbnails beside the logo. A free, MIT-licensed Remotion logo animation.
$ pnpm dlx shadcn@latest add @remocn/photo-haloUsage
// src/Root.tsx
import { Composition } from "remotion";
import { PhotoHalo } from "@/components/remocn/photo-halo";
const PhotoHaloScene = () => (
<PhotoHalo
words={["Launch", "films", "for", "everything", "you", "ship"]}
accentWord={3}
images={["https://example.com/a.jpg", "https://example.com/b.jpg"]}
/>
);
export const RemotionRoot = () => (
<Composition
id="PhotoHalo"
component={PhotoHaloScene}
durationInFrames={276}
fps={60}
width={1280}
height={720}
/>
);A line of words appears while photo cards pop around it, then the text drops away and the photos converge into a row of circular thumbnails with the logo landing beside them. Pass words, accentWord for the highlighted word, and images as URLs (the default photos only exist in the Remocn repo). 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.
Props16
| Prop | Type | Default |
|---|---|---|
| words | string[]DEFAULT_WORDS Headline words shown before the photos converge. | |
| accentWord | number3 Index of the word drawn in the accent colour. | |
| stagger | number3 Frames between headline words as they rise. | |
| images | string[]— Photo URLs; falls back to Remocn's demo photos when empty. | |
| theme | "dark" | "light""dark" Dark or light palette and ground. | |
| background | string— Stage fill colour; overrides the theme background. | |
| ink | string— Headline text colour. | |
| accent | string— Colour of the accent word; overrides the theme accent. | |
| fontFamily | string"Inter Tight" Typeface for the headline. Load the font in your project first. | |
| logo | React.ReactNode— Replaces the remocn mark. | |
| 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. | |
| blooms | string[]— Colours for the shader ground's light blooms. | |
| 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. | |
- wordsstring[]
Headline words shown before the photos converge.
Default
DEFAULT_WORDS - accentWordnumber
Index of the word drawn in the accent colour.
Default
3 - staggernumber
Frames between headline words as they rise.
Default
3 - imagesstring[]
Photo URLs; falls back to Remocn's demo photos when empty.
- theme"dark" | "light"
Dark or light palette and ground.
Default
"dark" - backgroundstring
Stage fill colour; overrides the theme background.
- inkstring
Headline text colour.
- accentstring
Colour of the accent word; overrides the theme accent.
- fontFamilystring
Typeface for the headline. Load the font in your project first.
Default
"Inter Tight" - logoReact.ReactNode
Replaces the remocn mark.
- 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 - bloomsstring[]
Colours for the shader ground's light blooms.
- groundGshPresetId
Shader preset id for the gradients.sh background ground.
- groundParamsPartial<GradientParams>
Custom shader parameters for the ground, used instead of the theme default.