Shiny Text
A premium Apple-style shine effect that sweeps across text like light reflecting off a glossy surface. Features a bright metallic base with multiple shine layers and glow effect.
Premium Shine
Continuous bright shine animation with glow effect - like Apple product text.
Hover Trigger
Golden shine activates when user hovers over the text.
Vision Pro Style
Extra wide shine with slow animation for maximum impact.
Installation
npm install framer-motionpnpm install framer-motionyarn add framer-motionbun add framer-motionProps
| Prop | Type | Default |
|---|---|---|
text? | string | required |
shineColor? | string | 'rgba(255, 255, 255, 1)' |
duration? | number | 3 |
angle? | number | 120 |
shimmerWidth? | number | 200 |
trigger? | 'hover' | 'loop' | 'inView' | 'loop' |
className? | string | '' |
disabled? | boolean | false |
Examples
// Premium white shine (default)
<ShinyText
text="Premium Quality"
shimmerWidth={200}
duration={3}
/>
// Gold luxury shine
<ShinyText
text="Luxury Gold"
shineColor="rgba(255, 215, 0, 1)"
shimmerWidth={180}
duration={2.5}
/>
// Interactive hover shine
<ShinyText
text="Hover for Shine"
trigger="hover"
shimmerWidth={200}
/>
// Extra wide slow shine
<ShinyText
text="Apple Vision Pro"
shimmerWidth={250}
duration={4}
/>
// Diagonal shine
<ShinyText
text="Angled Shine"
angle={45}
shimmerWidth={150}
/>Scroll Velocity
Scroll velocity animations create a dynamic and engaging effect as elements move on the screen. This technique can be used to draw attention to specific content or enhance the overall user experience.
Shuffle Text
A text scramble/decode animation that starts with random characters and gradually reveals the actual text letter by letter. Creates a cipher/decode effect perfect for hero sections, headlines, and interactive elements.
