Add Cascading Animations To Individual Characters or Elements Using Vanilla JavaScript

CascadeJS makes it easy to add cascading or sequential animations to individual characters or elements, using only vanilla javascript.

animation css property, css animation generator, css animation loop, css animation examples with source code, animation timing function, css animation transition

JQuery & GSAP Fancy Pointer Animations | Cursor & Magnetic

How to make use of it:


$ npm install cascadejs
# Bower
$ bower install cascadejs

1. Include CascadeJS’s JavaScript and CSS files in the HTML page.

<link href="dist/cascade.css" rel="stylesheet">
<script src="dist/cascade.js"></script>

2. Select the target item you want to move.

var element = document.getElementsByTagName('h1');

3. Move h1 text character by character.

var cascade = new Cascade(element).flow();

4. Possible options for customizing cascading animations:

var cascade = new Cascade(element).flow({
    // tag name to hold the elements
    tagName: 'span',
    // default CSS class prefixes
    // great for custom CSS3 animations
    classPrefix: 'cascade char',
    // 'fadeUp' or 'fadeDown'
    effect: 'fadeUp',
    // animation time
    totalTime: 0.5,
    // animation duration
    duration: 1,
    // If you've previously called fragment() on this node, set this option to false otherwise the fragmentation will run again and throw an error. Defaults to true.
    shouldFragment: true,
    // will append a class to the target element after fragmenting.
    shouldAppendTargetClass: true,
    // target class
    targetClass: 'cascade-container'

Apply Cascading Animations To Elements, CascadeJS Plugin/Github

See Demo And Download

Official Website(bartboy011): Click Here

This superior jQuery/javascript plugin is developed by bartboy011. For extra advanced usage, please go to the official website.

Related Posts


Star Rating Plugin Control Based On Radio Buttons

Star Rating Radio Buttons, the star rating plugin is a plugin for the jQuery Javascript library that creates a non-intrusive star rating control based on a set…


A Pure QRCode Encode and Decode JavaScript Library | Decoding/Encoding

QR Code With Pure JavaScript – A pure JavaScript QRCode encode and decode library. QR code encoder and decoder instruments help you shortly generate QR codes from…


Simple and Lightweight Vertical 3-Dot Context Menu

The 3-dot Context Menu allows for a simple and lightweight implementation to show 3 vertical dots allowing the user to click and show a menu. Below is…


Pure Toast Notification JavaScript Library | Toastify JS

Toast Notification JavaScript – Toastify JS is an easy, lightweight, vanilla JavaScript library used for sending stackable, non-blocking toast messages to end customers. Features Multiple stacked notifications…


Dialogs Based on Bootstrap 5 Modal Component | BS-DIALOGS

BS-DIALOGS is a small library for creating modal windows for notification and input using the Bootstrap 5 modal. It automatically handles DOM processing and provides callbacks to…


Creating Swipeable Image Carousel | Slider-cut

slider-cut is a modern, responsive, effective, and easy-to-use mobile circular component that enables you to rotate through images by mouse drag and touch gestures or by pressing…