Imgcli

Text & Titles

Ink Sweep

A line inks itself as it is read: it fades in faint, and a sweep runs along it letter by letter, flashing each letter to the accent before it settles to full ink.

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

Install

$ npx @imgcli/cli add ink-sweep

A line inks itself as it is read: it fades in faint, and a sweep runs along it letter by letter, flashing each letter to the accent before it settles to full ink.

Installation

npx @imgcli/cli add ink-sweep

Usage

import { InkSweep } from "@/components/imgcli/ink-sweep";

<InkSweep />

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

Use <InkSweep text="Every frame is code you own." /> for 102 frames at 30 fps (INK_SWEEP_SECONDS). sweepSeconds sets the read-along speed; accentColor sets the flash.

PropTypeDefaultDescription
text
string"Every frame is code you own."
sweepSeconds
number1.6Seconds the sweep takes from the first letter to the last.
fontSize
number64Type size in pixels on a 540px-tall canvas.
fontWeight
number600
maxWidth
number0.8
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 Ink Sweep to a Remotion project?

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

What is Ink Sweep?

Ink Sweep is a Remotion text highlight sweep animation for React. A line inks itself as it is read: it fades in faint, and a sweep runs along it letter by letter, flashing each letter to the accent before it settles to full ink.

What do I need before using Ink Sweep?

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.