Shimmer Text
Text for a pending state. The line sits in muted ink and a wave of full ink passes through it, like ink soaking into paper, then rests. The wave is the text's own colour ramp rather than a white shine laid over it, so it reads the same in every palette and mode.
Installation
Copy the piece into your app — it compiles with your build and the code is yours:
puzzle add piece shimmer-text
Requires the pieces.css tokens merged into your app styles (see Introduction). The keyframe travels inside the piece's own style block, so there is no stylesheet to import.
Usage
import ShimmerText from '@/components/ui/ShimmerText.pzl';
<ShimmerText>Thinking…</ShimmerText>
Speed
With a spinner
Accessibility and motion
Shimmer Text is plain text: no role and no live region. Pair it with whatever already announces the state — a Spinner, or an aria-busy region. The colour comes from a clipped gradient, so a text-* class will not recolour it; size, weight and tracking utilities work as usual.
Under prefers-reduced-motion: reduce the wave stops with its crest over the middle of the line and the text takes a slow opacity pulse instead.