Shimmer Text
A CSS-only shimmer for thinking and loading states. A highlight band sweeps across muted text on an endless loop - a "thinking" state that feels alive without a spinner. Pure CSS, so it costs nothing to run.
Installation
npx stepwise-ui add shimmer-text
Ships with a small CSS block (the two-layer gradient clip) and theme-aware--shimmer-base/--shimmer-highlighttokens you can retune per brand.
Props
PropTypeDescription
childrenstringText to shimmer (mirrored into data-text for the clip layer).
durationnumberSweep duration in seconds. Default 2.
bandnumberHighlight band width as a % of text width. Default 300.
classNamestringExtra classes (set font size / weight here).