use-typing-effect
TypeScript icon, indicating that this package has built-in type declarations

1.1.0 • Public • Published

use-typing-effect

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

NPM JavaScript Style Guide

demo

DEMO

Install

npm install --save use-typing-effect

Usage

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 <h1>{heading}</h1>;
};

License

MIT © Hermanya

Dependents (0)

Package Sidebar

Install

npm i use-typing-effect

Weekly Downloads

4

Version

1.1.0

License

MIT

Unpacked Size

12.1 kB

Total Files

8

Last publish

Collaborators

  • hermanya