react-typical

React Animated typing in 400 bytes of JavaScript,Based on awesome typical library by @camwiegert.

react-typical

Install

npm install --save react-typical
Bash

Usage

import React, { Component } from 'react'
import Typical from 'react-typical'

class Example extends React.Component {
  render () {
    return (
      <Typical
        steps={['Hello', 1000, 'Hello world!', 500]}
        loop={Infinity}
        wrapper="p"
      />
    )
  }
}
React JSX

Properties

prop mandatory type Eg.
steps yes [] ['Hello', 1000, 'World']
wrapper no string 'p'
loop no number 3

GitHub

React typing animation in ~400 bytes 🐡 of JavaScript.Read More

Latest commit to the master branch on 1-4-2023
Download as zip