graphics

ShimmerSweep

A single band of light sweeps across text once (or on a loop), drawing the eye without moving the layout. Restrained highlight emphasis built on the house easing.

$ npx ondajs add shimmer-sweep

ShimmerSweep

A single band of light sweeps across the text — restrained emphasis, not a disco. The base text sits in --onda-dim while a brighter band (--onda-text by default) travels through once, or loops on an interval. The layout never moves; only the highlight does, so it reads as polish rather than effect.

Props

PropTypeDefaultNotes
textstring"Onda"The text to sweep.
delaynumber0Frames before the sweep starts.
durationnumber30Frames for one sweep pass.
loopbooleanfalseLoop instead of a single pass.
intervalnumber60Frames between sweeps when looping.
colorstring#8E8E98Base (dim) text color.
shimmerColorstring#F2F2F4The sweeping highlight color.
anglenumber110Sweep angle in degrees.
fontSize / sizenumber / role96Explicit px or canvas-aware role.
fontFamily, fontWeight, letterSpacing, lineHeight, aligndisplay defaultsStandard typography vocabulary.
placementregion or {x,y,anchor}Canvas placement.

Usage

TSX
import { Composition } from 'remotion';
import { ShimmerSweep } from './components/onda/shimmer-sweep/ShimmerSweep';

export const ShimmerComp = () => (
  <ShimmerSweep text="Shipping today" align="center" placement="center" />
);