Components
Thinking Shimmer
A "Thinking…" shimmer label.
ProPro, coming soon.
Thinking…
<ThinkingShimmer>
Thinking…
</ThinkingShimmer>Get notified
Thinking Shimmer is a Pro effect. Join the waitlist and we'll email you when it's available.
Usage
Light sweeps across the letters of a short label while your assistant works. The label is ordinary text, so it reads normally and takes your font and colour.
import { ThinkingShimmer } from "@zjkm/pro/thinking-shimmer";
export function Pending() {
return (
<p role="status">
<ThinkingShimmer>Thinking…</ThinkingShimmer>
</p>
);
}Props
| Prop | Type | Default | Description |
|---|---|---|---|
children | ReactNode | "Thinking…" | The label. |
duration | number | 2 | Seconds per sweep. |
highlight | string | "#ffffff" | Colour of the light passing over the text. |
className | string | Classes for the <span>. |
With reduced motion, the label stays still.