21st

Text Shimmer

Text 49

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={1.4} spread={80}>
        Syncing metadata
      </TextShimmer>
    </div>
  );
}

Dependencies

More by 21st

View all
  • Spline Scene

    Spline Scene

    9.9K
  • Testimonials with Marquee

    Testimonials with Marquee

    2.5K
  • Gradient Button

    Gradient Button

    2.1K
  • Pixel Canvas

    Pixel Canvas

    936
  • Animated Blur Number

    Animated Blur Number

    841
  • Balloons

    Balloons

    819
  • Empty State

    Empty State

    810
  • Status Badge

    Status Badge

    706

More in Text

View all
  • Astryx Chat Tokenized Text

    Astryx Chat Tokenized Text

    11
  • Scroll Fill Headline

    Scroll Fill Headline

    62
  • Shimmering Text

    Shimmering Text

    6
  • Text Reveal

    Text Reveal

    41
  • Blur Reveal

    Blur Reveal

    395
  • Apple Hello Effect

    Apple Hello Effect

    689
  • Vertical Cut Reveal Characters

    Vertical Cut Reveal Characters

    135
  • Liquid Text

    Liquid Text

    272