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.8K
  • Testimonials with Marquee

    Testimonials with Marquee

    2.5K
  • Gradient Button

    Gradient Button

    2.1K
  • Pixel Canvas

    Pixel Canvas

    934
  • Animated Blur Number

    Animated Blur Number

    840
  • Empty State

    Empty State

    809
  • Balloons

    Balloons

    803
  • Status Badge

    Status Badge

    699

More in Text

View all
  • Vertical Cut Reveal Characters

    Vertical Cut Reveal Characters

    134
  • Astryx Chat Tokenized Text

    Astryx Chat Tokenized Text

    9
  • Text Reveal

    Text Reveal

    31
  • Rainbow Text Effect

    Rainbow Text Effect

    61
  • Scroll Fill Headline

    Scroll Fill Headline

    44
  • Shine Border

    Shine Border

    1K
  • Split text

    Split text

    79
  • Motion Blur Text

    Motion Blur Text

    47