Layered Text
Layered text effect with offset shadows, customizable styling, and animations.
Loading...
Installation
npx shadcn@latest add @scrollxui/layered-text Usage
import { LayeredText } from '@/components/ui/layered-text';<LayeredText
text='ScrollX UI'
className='text-4xl md:text-6xl font-bold text-black dark:text-white [--stroke-color:#FFFFFF] dark:[--stroke-color:#000000]'
layers={['#06B6D4', '#14B8A6', '#84CC16']}
offsetX={2}
offsetY={2}
strokeWidth={2}
animate={true}
/>API Reference
Layered Text
Layered text effect with offset shadows, customizable styling, and animations.