Skip to Content
zjkm-ui
Components

Thinking Shimmer

A "Thinking…" shimmer label.

ProPro, coming soon.
Thinking…
Props
2.0s
<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

PropTypeDefaultDescription
childrenReactNode"Thinking…"The label.
durationnumber2Seconds per sweep.
highlightstring"#ffffff"Colour of the light passing over the text.
classNamestringClasses for the <span>.

With reduced motion, the label stays still.

On this page