Typeinit
An Intuitive JavaScript Typing Animation Library
The problem
There are typing animation libraries available out there but most are really difficult to use. This can be frustrating when you want to get an animation up really quickly.
This solution
Typeinit is a javascript typing animation library which is easy and intuitive to use. It is a plug and play library which produces really smooth animations without headaches.
Features
- Offers a chainable API for ease of use.
- Choose to delay the animation until the target element becomes visible on the screen.
- Define strings to type programmatically or in the HTML (a useful fallback in case the user doesn't have JavaScript enabled, as well as for SEO).
- Style the color of the caret with any CSS color syntax (gradients work too 😋).
- Responsive: the caret shrinks or grows in relation to the font size specified.
- Fire callback functions when a character is typed, deleted, or when repeating.
Installation
via NPM
npm install typeinit
via CDN
Setup
javascript (ES6+)
After NPM installation
javascript (ES5+)
With CDN
Customization
Documentation
All of Typeinit's documentation can be found at https://typeinit-docs.vercel.app.