Julien Thibeaut

Text Shimmer

Text 1.3K

About

Shimmer effect on text. Easily adjust the duration and the spread of the shimmer effect.

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';

function TextShimmerBasic() {
  return (
    <TextShimmer className='font-mono text-sm' duration={1}>
      Generating code...
    </TextShimmer>
  );
}

function TextShimmerColor() {
  return (
    <TextShimmer
      duration={1.2}
      className='text-xl font-medium [--base-color:theme(colors.blue.600)] [--base-gradient-color:theme(colors.blue.200)] dark:[--base-color:theme(colors.blue.700)] dark:[--base-gradient-color:theme(colors.blue.400)]'
    >
      Hi, how are you?
    </TextShimmer>
  );
}

export default {
TextShimmerBasic,
TextShimmerColor
}

Dependencies

More by Julien Thibeaut

View all
  • Dock

    Dock

    3.3K
  • Text Effect

    Text Effect

    1.7K
  • Infinite Slider

    Infinite Slider

    1.6K
  • Text Scramble

    Text Scramble

    1.1K
  • Progressive blur

    Progressive blur

    714
  • Glow Effect

    Glow Effect

    646
  • Tailwind CSS Background Snippet

    Tailwind CSS Background Snippet

    640
  • Text Roll

    Text Roll

    547

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