Imgcli

Text & Titles

Slot In

A sentence with one rolling word: the slot rolls up through its candidates and lands on the last, which takes the accent and an underline, and the slot's width follows each word.

Make a video
Type
Animation
Duration
3.9s
Category
Text & Titles
Source
Imgcli

Install

$ npx @imgcli/cli add slot-in

A sentence with one rolling word: the slot rolls up through its candidates and lands on the last, which takes the accent and an underline, and the slot's width follows each word.

Installation

npx @imgcli/cli add slot-in

Usage

import { SlotIn } from "@/components/imgcli/slot-in";

<SlotIn />

Render at 30 fps for 117 frames (3.9 seconds) with the default props. The preview uses a 960 × 540 canvas.

Use <SlotIn before="Launch videos for" words={["founders", "designers", "your team"]} /> for slotInSeconds(words.length) seconds at 30 fps (117 frames for four words). hold sets how long each word stays.

PropTypeDefaultDescription
before
string"Launch videos for"
words
readonly string[]["founders", "designers", "agencies", "your team"]Rolled through in order; the last one stays.
after
string""
hold
number0.55Seconds each word holds before the next rolls in.
fontSize
number64Type size in pixels on a 540px-tall canvas.
fontWeight
number600
fontFamily
string—A face from the Imgcli font list, or any loaded CSS font stack.
accentColor
string—
theme
Partial<ImgcliTheme>—
mode
"light" | "dark"—
speed
number1

License

MIT. Free for personal and commercial use. Preserve the copyright and license notice.

Copyright (c) 2026 Ricky (Imgcli) <https://imgcli.com>

Frequently asked questions

How do I add Slot In to a Remotion project?

Run npx @imgcli/cli add slot-in in your Remotion project. The CLI copies the editable source into components/imgcli/ under your source root and installs its dependencies.

What is Slot In?

Slot In is a Remotion word swap in a sentence for React. A sentence with one rolling word: the slot rolls up through its candidates and lands on the last, which takes the accent and an underline, and the slot's width follows each word.

What do I need before using Slot In?

Use Node.js 20.19 or newer and an existing Remotion project. Create one with npx create-video@latest. The component is free and MIT licensed.