Bracket Index
Indexed bracket labels step through words, then the brackets close around the product name. A free, MIT-licensed Remotion logo animation.
$ pnpm dlx shadcn@latest add @remocn/bracket-indexUsage
// src/Root.tsx
import { Composition } from "remotion";
import { BracketIndex } from "@/components/remocn/bracket-index";
const BracketIndexScene = () => (
<BracketIndex
prefix="Motion for"
words={["launches", "changelogs", "demos"]}
product="remocn"
/>
);
export const RemotionRoot = () => (
<Composition
id="BracketIndex"
component={BracketIndexScene}
durationInFrames={360}
fps={60}
width={1280}
height={720}
/>
);A prefix phrase sits on screen while brackets open around the first word and roll through each next word, then close around the product name as the prefix steps aside. Pass prefix, words and product; each extra word adds 38 frames. Ships light and dark.
Props14
| Prop | Type | Default |
|---|---|---|
| prefix | string"Motion for" Text set before the brackets; it steps aside for the product. | |
| words | string[]["launches", "changelogs", "demos"] Words indexed inside the brackets, in order. | |
| product | string"remocn" Final word the brackets close on. | |
| accent | string"#3B5BFD" Accent colour for the mark and highlights; any CSS colour. | |
| ink | string— Text color; overrides the theme ink. | |
| background | string— Background fill; pass "transparent" to drop it. | |
| fontFamily | string"Manrope" Typeface for the indexed words. Load the font in your project first. | |
| fontWeight | number500 Weight of the indexed words. | |
| hold | number22 Frames each word holds in the brackets before the next rolls in. | |
| 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. | |
| theme | "dark" | "light""dark" Dark or light palette and ground. | |
| speed | number1 Playback multiplier for the whole timeline; 1 is normal speed. | |
- prefixstring
Text set before the brackets; it steps aside for the product.
Default
"Motion for" - wordsstring[]
Words indexed inside the brackets, in order.
Default
["launches", "changelogs", "demos"] - productstring
Final word the brackets close on.
Default
"remocn" - accentstring
Accent colour for the mark and highlights; any CSS colour.
Default
"#3B5BFD" - inkstring
Text color; overrides the theme ink.
- backgroundstring
Background fill; pass "transparent" to drop it.
- fontFamilystring
Typeface for the indexed words. Load the font in your project first.
Default
"Manrope" - fontWeightnumber
Weight of the indexed words.
Default
500 - holdnumber
Frames each word holds in the brackets before the next rolls in.
Default
22 - 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 - theme"dark" | "light"
Dark or light palette and ground.
Default
"dark" - speednumber
Playback multiplier for the whole timeline; 1 is normal speed.
Default
1