Stagger Chars
An animated text component that creates a smooth, staggered character animation effect when hovered.
Loading...
Installation
npx shadcn@latest add @scrollxui/stagger-chars Usage
import { StaggerChars } from '@/components/ui/stagger-chars';<StaggerChars
text='HELLO'
className='font-extrabold text-5xl md:text-6xl lg:text-8xl text-green-400'
hoverText='WORLD'
hoverClassName='text-orange-400'
/>Examples
With Different Hover Text
Loading...
Up Direction
Loading...
Down Direction
Loading...
API Reference
StaggerChars
The StaggerChars component renders an animated text component with staggered character effects.