react-character-typer
v1.0.1
Published
A small React typing effect component that types text letter by letter, waits at the end, and then starts again.
Maintainers
Readme
react-character-typer
A small React typing effect component that types text letter by letter, waits at the end, and then starts again.
Install
npm install react-character-typerUsage
import TypingEffect from "react-character-typer";
export default function App() {
return <TypingEffect text="Hello world" speed={100} pauseTime={1000} />;
}Props
text: the text to typespeed: delay in milliseconds between each characterpauseTime: delay in milliseconds before restarting after the full text is shown
Example
<TypingEffect text="Frontend developer" speed={80} pauseTime={1200} />Notes
- This package is written for React.
- The default export is the
TypingEffectcomponent.
