1.0.7 • Published 1 year ago

simple-typewriter-effect v1.0.7

Weekly downloads
-
License
ISC
Repository
-
Last release
1 year ago

Purpose

The npm package simple-typewriter-effect provides an easy-to-use solution for adding a typewriter effect to text on a webpage. This package allows users to customize the appearance of the typewriter effect by easily adding their own CSS styles. With simple-typewriter-effect, users can create engaging and dynamic text displays that will captivate their audience.

React Example

I have created a react example to demonstrate the usage of this packge. User can create its own design and just provide text, id, and speed in miliseconds to typewriter function. Effect will be applied to the text but keep in mind that typewriter function is an async function so handle it accordinly.

import typewriter from "simple-typewriter-effect";

function App() {
  useEffect(() => {
    typewriter("this is a type writer demo", "typewriter", 500);
  },[]);

  return (
    <div className="App">
      <h1>Type writer Demo</h1>
      <div className="container">
        <p className="typewriter" id="typewriter"></p>
      </div>
    </div>
  );
}

Demo

This article contains the demostration and usage explanation for this package

1.0.7

1 year ago

1.0.6

1 year ago

1.0.5

1 year ago

1.0.4

1 year ago

1.0.3

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago