Text
StampText
Text slams in from large scale with percussive impact.
Installation
npm install @ai-animate/core
Usage
import { StampText } from '@ai-animate/core'
<StampText text="MISSION ACCOMPLISHED" mode="word" stagger={0.04} />
Props
textstring—Text to animate (required)
mode'all' | 'word'allAtomic impact or staggered word punch
staggernumber0.04Delay between word stamps in seconds
durationnumber0.3Duration of each stamp in seconds
holdMsnumber2000When looping, hold time before replaying in ms
fontSizestring | number24Font size
colorstring#ffffffText color
fontWeightnumber | string900Font weight
loopbooleanfalseWhether to loop