animated-text-reveal
v1.0.0
Published
This is a React component that animates the text to reveal it in a visually appealing way.
Downloads
2
Readme
React Animated Text Reveal
This is a React component that animates the text to reveal it in a visually appealing way.
This package is an AnimatedTextReveal component that animates the text to reveal it character by character or word by word. It uses the useState and useEffect hooks to handle the animation logic.
Installation
npm i react-animated-text-reveal
Usage
import React from 'react';
import AnimatedTextReveal from 'react-animated-text-reveal';
const App = () => {
return (
<div>
<AnimatedTextReveal text="Hello, World!" duration={100} delay={500} type="char" />
</div>
);
};
export default App;