kevingirelli

Shimmer Text

Text

About

A span of text with a soft band of light sweeping across it now and then, built with one paused CSS animation that stops when scrolled off screen and falls back to plain text under reduced motion.

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

Code

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

Usage.tsx

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

export default function ShimmerTextDemo() {
  return (
    <div className="flex h-screen w-full items-center justify-center bg-background">
      <ShimmerText className="text-2xl font-medium text-muted-foreground">
        Charting a course…
      </ShimmerText>
    </div>
  );
}

More by kevingirelli

View all
  • Aurora

    Aurora

    166
  • QR Code

    QR Code

    140
  • FAQ Section

    FAQ Section

    98
  • Animated Border

    Animated Border

    88
  • Warp Gradient

    Warp Gradient

    71
  • Corner Frame

    Corner Frame

    71
  • Wave Text

    Wave Text

    63
  • Spotlight

    Spotlight

    52

More in Text

View all
  • Vertical Cut Reveal Characters

    Vertical Cut Reveal Characters

    135
  • Astryx Chat Tokenized Text

    Astryx Chat Tokenized Text

    14
  • Scroll Fill Headline

    Scroll Fill Headline

    67
  • Blur Reveal

    Blur Reveal

    399
  • Apple Hello Effect

    Apple Hello Effect

    692
  • Rainbow Text Effect

    Rainbow Text Effect

    61
  • Text Reveal

    Text Reveal

    31
  • NeonRGBTextEffect

    NeonRGBTextEffect

    156