An open API service indexing awesome lists of open source software.

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!

Awesome Lists containing this project

README

          

# use-typing-effect

> React hook for emulating a person typing; great for landing pages, input placeholders and more!

[![NPM](https://img.shields.io/npm/v/use-typing-effect.svg)](https://www.npmjs.com/package/use-typing-effect) [![JavaScript Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https://standardjs.com)

![demo](https://media.giphy.com/media/5YkXhqD4SDmSR1Y2Ae/giphy.gif)

[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).