https://github.com/hermanya/use-typing-effect
⌨️ React hook for the “human typing” effect; great for landing pages, input placeholders and more!
https://github.com/hermanya/use-typing-effect
Last synced: about 1 year ago
JSON representation
⌨️ React hook for the “human typing” effect; great for landing pages, input placeholders and more!
- Host: GitHub
- URL: https://github.com/hermanya/use-typing-effect
- Owner: Hermanya
- Created: 2019-01-26T03:08:14.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2019-03-04T01:52:47.000Z (over 7 years ago)
- Last Synced: 2025-03-26T02:42:54.506Z (over 1 year ago)
- Language: TypeScript
- Homepage: https://hermanya.github.io/use-typing-effect/
- Size: 1020 KB
- Stars: 61
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# use-typing-effect
> React hook for emulating a person typing; great for landing pages, input placeholders and more!
[](https://www.npmjs.com/package/use-typing-effect) [](https://standardjs.com)

[DEMO](https://hermanya.github.io/use-typing-effect/)
## Install
```bash
npm install --save use-typing-effect
```
## Usage
```tsx
import * as React from 'react';
import useTypingEffect from 'use-typing-effect';
const Example = () => {
const heading = useTypingEffect(['Some text here', 'More text here'], {
loop: true
});
return
{heading}
;
};
```
## License
MIT © [Hermanya](https://github.com/Hermanya)
---
This hook is created using [create-react-hook](https://github.com/hermanya/create-react-hook).