TextNew

Text Shimmer

A light band sweeps across grey text. The usual way to show that AI is thinking or something is loading.

Customize

baseColor
shineColor

Based on Text Shimmer (MIT license) · Terms of use

More in Pro

View all

Props

7 properties
PropertyTypeDefaultDescription
childrenstring"Generating your page..."Text the shine runs across.
durationnumber2Seconds for one pass of the shine.
spreadnumber2Width of the shine. Higher is a wider band.
asReact.ElementType"p"HTML tag of the wrapper.
classNamestring—Wrapper classes. Colours are set with baseColor and shineColor.
baseColorstring"#71717a"Colour of the text under the shine.
shineColorstring"#ffffff"Colour of the band of light that runs across.

Dependencies

3 required packages

npm install motion clsx tailwind-merge

Related components

View all