Toggle Sidebar B
AppearanceLight & dark mode D

Shiny Text

Metallic sheen sweeps across text producing a reflective highlight.

Default

Every prop is wired to the controls underneath. Hover the text with Pause on Hover on to freeze the shine.

Light previewReplay previewOpen in new tab
✨ Shiny Text Effect

Customize

Text Color
Shine Color
Speed2s
Delay0s
Spread120°
Direction

API Reference

ShinyText

PropTypeDefaultDescription
textstring-The text to be displayed with the shiny effect.
colorstring"#b5b5b5"The base color of the text.
shineColorstring"#ffffff"The color of the shine/highlight effect.
speednumber2Duration of one animation cycle in seconds.
delaynumber0Pause duration (in seconds) between animation cycles.
spreadnumber120The angle (in degrees) of the gradient spread.
yoyobooleanfalseIf true, the animation reverses direction instead of looping.
pauseOnHoverbooleanfalsePauses the animation when the user hovers over the text.
direction'left' | 'right'"left"The direction the shine moves across the text.
disabledbooleanfalseDisables the shiny effect when set to true.

Accessibility

Keyboard shortcuts and ARIA behavior.

  • The text stays real text, so it is selectable and read by screen readers. The base color must keep enough contrast against the background.