How to get TypeWriter Effect In ReactJS

I am a full stack developer from Lahore, Pakistan. I'll be writing articles about latest Web technologies and frameworks.
Happy to see you here.
Search for a command to run...

I am a full stack developer from Lahore, Pakistan. I'll be writing articles about latest Web technologies and frameworks.
Happy to see you here.
No comments yet. Be the first to comment.
Introduction What's up my fellow brogrammers have you ever been assigned to write documentation for a project and don't know where to start or do you like many developers just hate the thought of writing documentation then boy do I have the solution ...

Welcome, aspiring cloud enthusiasts! 🚀 Have you ever been in a situation where you want to create an account on AWS but don't know how? If you're ready to embark on your cloud computing journey with AWS, you're in the right place! Setting up your AW...

A function to upload images to AWS S3. To use this install the following packages: npm i base64-arraybuffer npm i react-native-fs npm i aws-sdk npm i react-native-image-crop-picker Please follow the setup process if not already done react-nati...

Making API requests in a React application can be a bit tricky, but using the Redux Thunk middleware makes it a lot simpler. In this blog post, we'll go over the basics of making API requests using Redux Thunk in a React application. First, let's set...

The site in the image was the first project I built. Where it started. I was one of the kids who spent most of his time in front of the computer. Chatting with friends on Yahoo messenger and MSN. I loved to play games but with that, I was always won...

Hey everyone. Hope you all are well. Recently when I was working on my portfolio site which you can checkout at rayanabid.com, I wanted to get a typewriter effect that I saw on most sites. So I thought I might as well share it as I found this method very easy and useful to implement.
Also on a side note, If you speak urdu/hindi then you can wacth this instead if you prefer video format youtube.
So this is the effect we will try to achieve in this article.

So to get this effect. You only need to be sure of two things.
Open this link and paste this command in your terminal
npm i typewriter-effect
After that this package will be installed on your react project.
Now we just have to import this component in our JSX file. like this
import Typewriter from 'typewriter-effect';
Once you have imported it you can use it in your return statement.
<Typewriter
options={{
strings: ['Hello', 'World'],
autoStart: true,
loop: true,
}}
/>
You can replace the strings array with any text you want.
and viola your typewriter effect is ready.
Now you can add this to your projects as well.
Please do share your thoughts as well. and checkout the repo on github
Bye for now.