Writing Text
A text component that smoothly reveals content word by word.
Writing Text With Effect
Installation
Props
Prop | Type | Default |
---|---|---|
className? | string | - |
duration? | number | 2 |
delay? | number | 0.5 |
startOnView? | boolean | false |
spacing? | number | string | 5 |
text | string | - |
transition? | Transition | { type: 'spring', bounce: 0, duration: 2, delay: 0.5 } |
Credits
- Credits to Motion for the inspiration