Animate on Scroll

Animate on Scroll

Wordpress plugin

Install on Wordpress

App Details

Animate any Elements on scroll using the popular AOS JS library simply by adding class names.

This plugin helps you integrate easily with AOS JS library to add any AOS animations (on scroll animation) to WordPress.

It should work well with the native gutenberg core blocks or any page builder (tested with GenerateBlocks and Elementor) that provides an input field for adding custom class names to elements.

About AOS

AOS is a small JavaScript library built by Michał Sajnóg that allows you to add animated effects to HTML elements when they come into view as the user scrolls down a webpage. AOS provides a set of predefined animations using CSS that can be easily applied to elements using simple data attributes in the HTML code.

Check out the AOS demo and documentation.

How to add Animations?

Simply add the desired AOS animation to your element class name with “aos-” prefix and the plugin will add the corresponding aos attribute to the element tag.

Fade animations:

  • fade: aos-fade
  • fade-up: aos-fade-up
  • fade-down: aos-fade-down
  • fade-left: aos-fade-left
  • fade-right: aos-fade-right
  • fade-up-right: aos-fade-up-right
  • fade-up-left: aos-fade-up-left
  • fade-down-right: aos-fade-down-right
  • fade-down-left: : aos-fade-down-left

Flip animations:

  • flip-up: aos-flip-up
  • flip-down: aos-flip-down
  • flip-left: aos-flip-left
  • flip-right: aos-flip-right

Slide animations:

  • slide-up: aos-slide-up
  • slide-down: aos-slide-down
  • slide-left: aos-slide-left
  • slide-right: aos-slide-right

Zoom animations:

  • zoom-in: aos-zoom-in
  • zoom-in-up: aos-zoom-in-up
  • zoom-in-down: aos-zoom-in-down
  • zoom-in-left: aos-zoom-in-left
  • zoom-in-right: aos-zoom-in-right
  • zoom-out: aos-zoom-out
  • zoom-out-up: aos-zoom-out-up
  • zoom-out-down: aos-zoom-out-down
  • zoom-out-left: aos-zoom-out-left
  • zoom-out-right: aos-zoom-out-right

Animation Settings

By default, the global animation settings are

  • offset: -100
  • duration: 1100
  • easing: ease
  • delay: 0
  • once: true

you can change that using filter:

add_filter( 'aos_init', function($aos_init) { return ' var aoswp_params = { "offset":"200", "duration":"1800", "easing":"ease-in-out", "delay":"0", "once": false}; '; } ); 

or add the extra classes below to the element for individual settings. The plugin will add the corresponding aos attribute to the tag.

Once behavior:

  • once=true: aos-once-true
  • once=false: aos-once-false

Easing functions:

  • linear: aos-easing-linear
  • ease: aos-easing-ease
  • ease-in: aos-easing-ease-in
  • ease-out: aos-easing-ease-out
  • ease-in-out: aos-easing-ease-in-out
  • ease-in-back: aos-easing-ease-in-back
  • ease-out-back: aos-easing-ease-out-back
  • ease-in-out-back: aos-easing-ease-in-out-back
  • ease-in-sine: aos-easing-ease-in-sine
  • ease-out-sine: aos-easing-ease-out-sine
  • ease-in-out-sine: aos-easing-ease-in-out-sine
  • ease-in-quad: aos-easing-ease-in-quad
  • ease-out-quad: aos-easing-ease-out-quad
  • ease-in-out-quad: aos-easing-ease-in-out-quad
  • ease-in-cubic: aos-easing-ease-in-cubic
  • ease-out-cubic: aos-easing-ease-out-cubic
  • ease-in-out-cubic: aos-easing-ease-in-out-cubic
  • ease-in-quart: aos-easing-ease-in-quart
  • ease-out-quart: aos-easing-ease-out-quart
  • ease-in-out-quart: aos-easing-ease-in-out-quart

Animation Duration:

  • 100ms: aos-duration-100
  • 200ms: aos-duration-200
  • 300ms: aos-duration-300
  • 400ms: aos-duration-400
  • 500ms: aos-duration-500
  • 600ms: aos-duration-600
  • 700ms: aos-duration-700
  • 800ms: aos-duration-800
  • 900ms: aos-duration-900
  • 1000ms: aos-duration-1000
  • 1100ms: aos-duration-1100
  • 1200ms: aos-duration-1200
  • 1300ms: aos-duration-1300
  • 1400ms: aos-duration-1400
  • 1500ms: aos-duration-1500
  • 1600ms: aos-duration-1600
  • 1700ms: aos-duration-1700
  • 1800ms: aos-duration-1800
  • 1900ms: aos-duration-1900
  • 2000ms: aos-duration-2000
  • 2100ms: aos-duration-2100
  • 2200ms: aos-duration-2200
  • 2300ms: aos-duration-2300
  • 2400ms: aos-duration-2400
  • 2500ms: aos-duration-2500
  • 2600ms: aos-duration-2600
  • 2700ms: aos-duration-2700
  • 2800ms: aos-duration-2800
  • 2900ms: aos-duration-2900
  • 3000ms: aos-duration-3000

Animation Delay: (*new, added in 1.0.2)

  • 100ms: aos-delay-100
  • 200ms: aos-delay-200
  • 300ms: aos-delay-300
  • 400ms: aos-delay-400
  • 500ms: aos-delay-500
  • 600ms: aos-delay-600
  • 700ms: aos-delay-700
  • 800ms: aos-delay-800
  • 900ms: aos-delay-900
  • 1000ms: aos-delay-1000
  • 1100ms: aos-delay-1100
  • 1200ms: aos-delay-1200
  • 1300ms: aos-delay-1300
  • 1400ms: aos-delay-1400
  • 1500ms: aos-delay-1500
  • 1600ms: aos-delay-1600
  • 1700ms: aos-delay-1700
  • 1800ms: aos-delay-1800
  • 1900ms: aos-delay-1900
  • 2000ms: aos-delay-2000
  • 2100ms: aos-delay-2100
  • 2200ms: aos-delay-2200
  • 2300ms: aos-delay-2300
  • 2400ms: aos-delay-2400
  • 2500ms: aos-delay-2500
  • 2600ms: aos-delay-2600
  • 2700ms: aos-delay-2700
  • 2800ms: aos-delay-2800
  • 2900ms: aos-delay-2900
  • 3000ms: aos-delay-3000

To Disable Animations On Specific Device

  • To disable animations on certain elements on devices larger than 767px, simply add aoswp-disable-desktop class name to the element tag
     
  • To disable animations on certain elements on devices smaller than 766px, simply add aoswp-disable-mobile class name to the element tag
     
  • To disable animations site-wide / per page basis on specific devices:
    add this lines to your css files:

    @media ( your media query ) {

     html:not(.no-js) .aoswp-enabled [data-aos] { opacity: 1!important; -webkit-transform: none!important; transform: none!important; transition: none!important; transition-timing-function: unset!important; transition-duration: unset!important; transition-property: none!important; } 

    }

 

Note

  • Both AOS JavaScript and CSS will only be loaded if there is ‘aos-‘ in the page’s html. So this plugin will not add bloat to pages that do not use/need the AOS animations.
     
  • Although the AOS library is already lightweight, the CSS and JS in this plugin are delay-able, so it won’t hurt your site’s performance at all. (You can use Optimize More! to delay the CSS and JS)

Disclaimer

This plugin doesn’t add anything to your database and won’t do any permanent change to your HTML, so you can safely deactivate and delete it when you no longer need it.

USEFUL PLUGINS TO OPTIMIZE YOUR SITE’S SPEED:

  • Optimize More! – A DIY WordPress Page Speed Optimization Pack. Features:
    • Load CSS Asynchronously – selectively load CSS file(s) asynchronously on selected post/page types.
    • Delay CSS and JS until User Interaction – selectively delay CSS/JS load until user interaction on selected post/page types.
    • Preload Critical CSS, JS, and Font Files – selectively preload critical CSS/JS/Font file(s) on selected post/page types.
    • Remove Unused CSS and JS Files – selectively remove unused CSS/JS file(s) on selected post/page types.
    • Load Gutenberg CSS conditionally – Load each CSS of the core blocks will only get enqueued when the block gets rendered on a page.
    • Advance Defer JS – hold JavaScripts load until everything else has been loaded. Adapted from the legendary varvy’s defer js method *recommended for defer loading 3rd party scripts like ads, pixels, and trackers
    • Defer JS – selectively defer loading JavaScript file(s) on selected post/page types.
    • Remove Passive Listener Warnings – Remove the “Does not use passive listeners to improve scrolling performance” warning on Google PageSpeed Insights
       
  • Optimize More! Images – A simple yet powerfull image, iframe, and video optimization plugin (Lazy load images / iframes / videos, Preload featured images automatically). Also support lazy loading CSS background images.
     
  • Lazyload, Preload, and more! – A simplified version of Optimize More! Images. Able to do what Optimize More! Images can do but without UI for settings (you can customize the default settings using filters). This tiny little plugin (around 14kb zipped) will automatically:
    • lazyload your below the fold images (img tag and bg images) /iframes / videos,
    • preload your featured images,
    • and add loading=”eager” to your featured image and all images that have no-lazy or skip-lazy class.

Other USEFUL PLUGIN:

  • Shop Extra – A lightweight plugin to optimize your WooCommerce & Business site:
    • Floating WhatsApp Chat Widget (can be use without WooCommerce),
    • WhatsApp Order Button for WooCommrece,
    • Hide/Disable WooCommerce Elements,
    • WooCommerce Strings Translations,
    • and many more.
       
  • Image & Video Lightbox – A lightweight plugin that automatically adds Lightbox functionality to images displayed by WordPress (Gutenberg) Gallery and Image Blocks, as well as GenerateBlocks Image Blocks, and also videos created by the core Video Block, without the need to set the link to media file manually one by one.

 

Pricing

Starting from $0 per month.

Check Out the Quiz Maker Widget

By Common Ninja

Quiz MakerTry For Free!

App Info

Rating

Reviewers

5 reviews

Tags

animate
animation
aos
scroll
scroll animation

Developed By

Arya Dhiratara

Quick & Easy

Find the Best Wordpress plugins for you

Common Ninja has a large selection of powerful Wordpress plugins that are easy to use, fully customizable, mobile-friendly and rich with features — so be sure to check them out!

Testimonial

Testimonial plugins for Wordpress

Galleries

Galleries plugins for Wordpress

SEO

SEO plugins for Wordpress

Contact Form

Contact Form plugins for Wordpress

Forms

Forms plugins for Wordpress

Social Feeds

Social Feeds plugins for Wordpress

Social Sharing

Social Sharing plugins for Wordpress

Events Calendar

Events Calendar plugins for Wordpress

Sliders

Sliders plugins for Wordpress

Analytics

Analytics plugins for Wordpress

Reviews

Reviews plugins for Wordpress

Comments

Comments plugins for Wordpress

Portfolio

Portfolio plugins for Wordpress

Maps

Maps plugins for Wordpress

Security

Security plugins for Wordpress

Translation

Translation plugins for Wordpress

Ads

Ads plugins for Wordpress

Video Player

Video Player plugins for Wordpress

Music Player

Music Player plugins for Wordpress

Backup

Backup plugins for Wordpress

Privacy

Privacy plugins for Wordpress

Optimize

Optimize plugins for Wordpress

Chat

Chat plugins for Wordpress

Countdown

Countdown plugins for Wordpress

Email Marketing

Email Marketing plugins for Wordpress

Tabs

Tabs plugins for Wordpress

Membership

Membership plugins for Wordpress

popup

popup plugins for Wordpress

SiteMap

SiteMap plugins for Wordpress

Payment

Payment plugins for Wordpress

Coming Soon

Coming Soon plugins for Wordpress

Ecommerce

Ecommerce plugins for Wordpress

Customer Support

Customer Support plugins for Wordpress

Inventory

Inventory plugins for Wordpress

Video Player

Video Player plugins for Wordpress

Testimonials

Testimonials plugins for Wordpress

Tabs

Tabs plugins for Wordpress

Social Sharing

Social Sharing plugins for Wordpress

Social Feeds

Social Feeds plugins for Wordpress

Slider

Slider plugins for Wordpress

Reviews

Reviews plugins for Wordpress

Portfolio

Portfolio plugins for Wordpress

Membership

Membership plugins for Wordpress

Forms

Forms plugins for Wordpress

Events Calendar

Events Calendar plugins for Wordpress

Contact

Contact plugins for Wordpress

Comments

Comments plugins for Wordpress

Analytics

Analytics plugins for Wordpress

Common Ninja Apps

Some of the best Common Ninja plugins for Wordpress

Browse our extensive collection of compatible plugins, and easily embed them on any website, blog, online store, e-commerce platform, or site builder.

Quiz Maker for Wordpress logo

Quiz Maker

Create interactive quizzes with a quiz maker that lets you build custom questions, collect responses, and increase engagement with easy site integration.

Animated Number Counter for Wordpress logo

Animated Number Counter

Show key stats with an animated number counter that draws attention, adds social proof, and helps increase trust and conversions.

Airbnb Reviews for Wordpress logo

Airbnb Reviews

Show Airbnb reviews to build trust, improve credibility, and help visitors make confident booking decisions that support higher property sales.

Linkedin Feed for Wordpress logo

Linkedin Feed

Show LinkedIn posts in a live feed that keeps updates current, builds credibility, and helps visitors engage with your brand.

Reddit Feed for Wordpress logo

Reddit Feed

Show Reddit posts with a Reddit feed that updates automatically, improves content discovery, and keeps visitors engaged with fresh discussions.

Company Branch Flip Cards for Wordpress logo

Company Branch Flip Cards

Display locations with company branch flip cards that help customers find nearby offices, understand key details, and enjoy a smoother overall experience.

Trust Badges for Wordpress logo

Trust Badges

Show trust badges that highlight security and reliability, build customer confidence, and help visitors feel safe making purchases on your site.

Video Carousel for Wordpress logo

Video Carousel

Showcase videos with a video carousel that rotates or slides clips, improves visual design, and keeps visitors watching and engaged.

HIPAA Compliance Forms for Wordpress logo

HIPAA Compliance Forms

Create secure HIPAA compliant forms that protect sensitive data, offer full customization, and integrate easily for safe medical information collection.

AdBlocker Detector for Wordpress logo

AdBlocker Detector

Detect ad blockers on your site to maintain visibility into user behavior and support sustainable ad-based monetization.

Right Click Protection for Wordpress logo

Right Click Protection

Use right click protection to prevent copying by disabling right click actions, protecting your content and reducing unauthorized reuse on your site.

Live Weather Forecast for Wordpress logo

Live Weather Forecast

Use a live weather forecast widget to show current conditions and upcoming predictions, giving visitors real time local weather updates for better planning.

Discover Apps By Platform

Discover the best apps for your website

WordPress
Wix
Shopify
Weebly
Webflow
Joomla
PrestaShop
Shift4Shop
WebsiteX5
MODX
Opencart
NopCommerce

Common Ninja Search Engine

The Common Ninja Search Engine platform helps website builders find the best site widgets, apps, plugins, tools, add-ons, and extensions! Compatible with all major website building platforms - big or small - and updated regularly, our Search Engine tool provides you with the business tools your site needs!

Multiple platforms