New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More

react-type-animation

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-type-animation

⌨ React typing animation based on typical.


Version published
Weekly downloads
74K
increased by1.63%
Maintainers
1
Weekly downloads
 
Created

react-type-animation

React wrapper for typical with extended functionality.

Install

npm install react-type-animation

Usage

import TypeAnimation from 'react-type-animation';

const ExampleComponent = () => {
  return (
    <TypeAnimation
      cursor={false}
      sequence={['React typing animation based on typical', 1000, '']}
      wrapper="h2"
    />
  );
};

Props

PropRequiredTypeExampleDescription
wrappernostringp,h2,divKey of HTML element that animation is wrapped around
sequenceyes[]['One', 1000, 'Two']Animation steps: [Text, Delay]
repeatnonumber5,InfinityAmount of animation repetitions
cursornobooleanfalse, trueDisplay blinking cursor in animation

FAQs

Package last updated on 14 Apr 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts