Toggle Sidebar B
AppearanceLight & dark mode D

Shimmer

A CSS utility that sweeps a soft highlight across text for live status - 'Thinking…', 'Generating response…', running tools, streaming markers. Honors prefers-reduced-motion. Ships in main.css.

Text status

Add shimmer to any text element. The sweep uses currentColor.

Replay preview

Thinking…

Generating response…

Running tools…

Modifiers

Tune the effect with duration, spread, and angle modifiers, or play once with shimmer-once.

Replay preview

Faster (shimmer-duration-1200)

Wider band (shimmer-spread-20)

Steeper angle (shimmer-angle-45)

Inherits currentColor (text-primary)

API Reference

Utility classes

PropTypeDefaultDescription
shimmerutilityAnimate a highlight sweep across the text.
shimmer-onceutilityRun the sweep a single time instead of looping.
shimmer-reverseutilityReverse the sweep direction.
shimmer-noneutilityDisable the effect (useful at a breakpoint).
shimmer-duration-<ms>modifier2000Sweep duration in milliseconds, e.g. shimmer-duration-1200.
shimmer-spread-<n> / shimmer-angle-<deg>modifierWidth of the highlight band and its angle.