Skip to content
PixiKit

Sheen Text

A band of light sweeps across text, on a loop, on hover or when it scrolls into view.

pixikit.com/docs/effects/sheen-text

Customize

Color
Shine color
Speed2.0s
Delay0.0s
Angle120deg
Shine width40%
Softness0.80
Bands1
Glow0.00
Direction
Easing
Trigger
Yoyo
Follow pointer
Pause on hover
Disabled

Props

20
NameTypeDefaultDescription
textstringNoneThe text to shine; children work too.
childrenReactNodeNone
colorstring"var(--muted-foreground)"The base colour of the text.
shineColorstring"var(--foreground)"The colour of the light passing over it.
speednumber2Seconds for one sweep across the text.
delaynumber0Seconds of rest between sweeps.
anglenumber120The tilt of the band of light, in degrees. 90 is upright, higher leans it forward.
shineWidthnumber40How wide the band of light is, as a percentage of the text.
softnessnumber0.8How gently the band fades at its edges, 0 for a crisp glint to 1 for a soft sheen.
bandsnumber1How many bands of light follow each other.
glownumber0A soft bloom of light that travels with the band, 0 to 1.
direction"left" | "right""left"Which way the light travels.
easing"smooth" | "linear" | "snappy""smooth"The feel of each sweep: smooth glides in and out, linear keeps an even pace, snappy flashes across and waits.
trigger"loop" | "hover" | "view""loop"When it shines: on a loop, once each time the pointer enters, or once when scrolled into view.
yoyobooleanfalseSweep back and forth instead of always starting from the same side.
followPointerbooleanfalseWhile hovered, the light glides after the pointer, then slides off when it leaves.
pauseOnHoverbooleanfalseFreeze the sweep while the pointer is over the text.
disabledbooleanfalseShow plain text with no shine.
classNamestringNone
styleCSSPropertiesNone

More text effects in Pro

View all

Related