21st

Text Shimmer

Text 7

About

Shimmering status text for streaming agents. Tune duration, spread, and delay; renders any element via the as prop. From 21st.dev Agent Elements.

Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Text Shimmer to your project and fits it to your theme.

Code

How Text Shimmer is used: the demo's code. The component's own source comes with a free account.

Usage.tsx

import { TextShimmer } from "@/components/ui/text-shimmer";

export default function Demo() {
  return (
    <div className="flex h-full w-full items-center justify-center p-8">
      <TextShimmer as="span" duration={2.2} spread={140} delay={0.6}>
        Calculating risk score
      </TextShimmer>
    </div>
  );
}

Dependencies

More by 21st

View all
  • Spline Scene

    Spline Scene

    9.5K
  • Testimonials with Marquee

    Testimonials with Marquee

    2.3K
  • Gradient Button

    Gradient Button

    2K
  • Pixel Canvas

    Pixel Canvas

    912
  • Animated Blur Number

    Animated Blur Number

    832
  • Empty State

    Empty State

    781
  • Balloons

    Balloons

    767
  • Status Badge

    Status Badge

    660

More in Text

View all
  • Vertical Cut Reveal Characters

    Vertical Cut Reveal Characters

    110
  • Blur Reveal

    Blur Reveal

    313
  • Vapour Text Effect

    Vapour Text Effect

    2K
  • NeonRGBTextEffect

    NeonRGBTextEffect

    145
  • Rainbow Text Effect

    Rainbow Text Effect

    47
  • Shine Border

    Shine Border

    968
  • Apple Hello Effect

    Apple Hello Effect

    620
  • Text Highlight

    Text Highlight

    72