Skip to content

Text Shimmer Wave

Free

A status line such as Thinking, whose letters brighten and lift in a wave that loops while work goes on.

  • React 19
  • Tailwind CSS 4

Added Nov 14, 2026 · MIT + Commons Clause

Playground

Loading the preview

Props

Put the status words in it, next to a Spinner. Set active to false when the work ends.

The sample also uses Spinner. One command adds them with this item:

answer-status.tsx

TextShimmerWave

<span>
PropTypeDefaultDescription
localestring—The BCP 47 locale for the letter and word split (Intl.Segmenter). Default: the DisplayLocaleProvider locale, else "en-US".
pausedboolean—The pause of the user or the page (controlled).
defaultPausedboolean—The first pause when paused is not given (uncontrolled). Default false.
onPausedChange—Called when the pause changes.
pauseOnHoverboolean—Hold the motion while a mouse is over the item, or keyboard focus is on the link or button around it (or in it). Default true.
childrenRequiredstring—The status text, such as "Thinking" or "Searching the docs".
activebooleantrueThe wave runs. Set it to false when the work ends: the text shows full and still.
...props<span> attributes—Every other attribute goes to the <span>, with a ref.
  • Set active to false when the work ends: the text shows full and still.
  • Put it in an output element (or another status), with a Spinner next to it when the wait can be long.
  • Drive paused from a control of the page when the wave can run for more than 5 seconds.
  • For a plain loading ring with no words, use Spinner.
  • For the shape of content that loads, use Skeleton.
  • For a status mark with a check or an error at the end, use Status Icon.
Wave
sine · 2s loop · ease-sine (0.42, 0, 0.58, 1) · each letter goes from 50% to full opacity and 0.12em up in the first quarter of the loop, then rests
Stagger
sine · each letter starts 60ms after the letter before it, less for a long text, so the wave crosses the line in 1.2s at most
  1. AddedText Shimmer Wave.
Open the release