Hermanya / use-typing-effect

⌨️ React hook for the “human typing” effect; great for landing pages, input placeholders and more!

Home Page:https://hermanya.github.io/use-typing-effect/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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


This hook is created using create-react-hook.

About

⌨️ React hook for the “human typing” effect; great for landing pages, input placeholders and more!

https://hermanya.github.io/use-typing-effect/


Languages

Language:TypeScript 77.6%Language:HTML 14.2%Language:JavaScript 5.3%Language:CSS 2.9%