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
  • QR Code

    QR Code

    124
  • Aurora

    Aurora

    115
  • FAQ Section

    FAQ Section

    73
  • Animated Border

    Animated Border

    65
  • Warp Gradient

    Warp Gradient

    58
  • Wave Text

    Wave Text

    53
  • Corner Frame

    Corner Frame

    51
  • Spotlight

    Spotlight

    40

More in Text

View all
  • Vertical Cut Reveal Characters

    Vertical Cut Reveal Characters

    127
  • Motion Blur Text

    Motion Blur Text

    42
  • Text Reveal

    Text Reveal

    37
  • Shine Border

    Shine Border

    988
  • Apple Hello Effect

    Apple Hello Effect

    649
  • Text Effect

    Text Effect

    1.7K
  • Text Shimmer Wave

    Text Shimmer Wave

    185
  • Blur Reveal

    Blur Reveal

    347