Web Animations and Animation Tools You Can Use for Your Web App

At Rich Design, we're big fans of creative, beautiful animations. We believe well-designed animations can contribute significantly to how appealing and user-friendly web and mobile apps are. When applied correctly, effective animations can build a strong connection between users and the content on the screen.

If you want to make your web app more user-friendly, keep reading: we'll talk about the types of web animation and explain how to get web design support for your own cross-browser web app.

Types of web app animations

To start, let's look at the types of UI animations for web apps and see what you can use them for.

Loading

Users often have to wait while things load: website pages, PDF files, spreadsheets, maps, videos, and other content. To liven up the wait and make your app feel faster, use any of the countless types of loading animations that spin, bounce, or fade. You can also consider skeleton screens, short cartoons, progress bars, and morphing animations.

Examples of loading animations: a spinning ring, bouncing dots, a progress bar, and a skeleton screen

[Loading animation.]

Welcome animations

A user's first impression matters, and creating great welcome animations can help you engage users from the very start. What's more, they can entertain users and make them want to use your product again. Let's look at the most common types of welcome animations to understand how they captivate people.

  • Particle animations

These animations are among the most eye-catching, and they can appear on a web app's homepage. They help users relax and offer a light meditation. Particle animations may or may not be interactive.

Interactive (or real-time) particle animations respond to the user's cursor movements. Most users like being in control of animations, and a web app with this kind of animation can be mesmerizing. Edan Kwan's website Particle Love offers a perfect example of real-time animation.

Non-interactive particle animations don't require user participation, but they can be impressive too. Plus, these animations can run in the background .

Non-interactive particle animation

[Non-interactive particle animation.]

Typography (or type) animations also belong to the particle animation category. Type animations involve images of moving letters and may or may not be interactive. If you want to see what an interactive typography animation can look like, visit Rich Design's  homepage . 

  • Background video

If you visit the Canvas United homepage, you'll see a silent background video that complements the central text. The video is quite fast, so users may watch it several times, which can draw them in and encourage them to spend more time on the site.

  • 3D animations

3D animations give designers more opportunities to create realistic, complex visuals that grab attention. Some design experts have started a trend of mixing 2D with 3D objects, creating deeper and more sophisticated experiences.  

Just like background videos and particles, interactive 3D animations (the ones that respond to key presses, mouse clicks, button clicks, and finger gestures on mobile devices) serve as decorative elements of a website. It's common practice to place them on homepages to welcome and entertain users in the first minutes of their visit to a website. 

Animation of 2D shapes moving together with a spinning 3D cube

[Mixing 2D objects with 3D objects in motion design.]

When you build a new website or web app from scratch, you can apply the animations above to your homepage. And if you already have a digital product and are thinking about a redesign, you can use the most suitable animation to transform your product's interface.

 

Scrolling

One of the main advantages of scrolling animations is that they complement interactive designs and give users control. You can choose from many types of animated scrolling: one-page scrolling, scroll-triggered drawing, background changes, and more. Still, the principle is the same for all types of animated scrolling: when a user scrolls the page, the animations move.

Example of animated scrolling with a parallax effect

[Animated scrolling with a parallax effect.]

Image galleries

If you want users to see multiple images on the same screen, you can add a slideshow or carousel that shows the images one at a time. This not only saves space on your site but also lets you tell a story. By putting images in order, you can explain how your web app works, what your company values are, and how your company came to be. Or you can showcase your best products to draw attention to them. In addition, by setting the direction of image slideshows and carousels, you can guide users toward other site elements and encourage them to use those too.

Example of a sliding image gallery

 

Sidebar navigation

Sidebar navigation (vertical sliding navigation) is the best option for building compact, clean web apps. Small animated menu icons that are always accessible on the side of the screen let users easily reach your web app's menu without scrolling.

Animated sidebar that opens and closes

[Animated sidebar navigation.]

Visual feedback

Animations can help users understand instantly whether they're taking the right actions. These animations can be divided into alert animations and hover effect animations.

  • Alert animations

Your web app can tell users they've done something wrong. For example, if users fill in a field incorrectly or miss something, animations can ask them to repeat an action or click a button again. Alert animations can take the form of red crosses, sad emojis, or other symbols that inform users about invalid actions.

Button animation showing success and error states

[A button with error / success states.]

  • Hover animations

Animations with hover effects can show users whether the objects they hover over are clickable. Buttons can light up, change shape or color, or display hints.

Animation where a card pops forward on hover

[Animation with a hover effect.]

Another purpose of hover animations is to let users know that the actions they've taken were successful. For example, when users submit a form, an animation can show that the submit button has been pressed.   

Using visual feedback animations makes your product design more intuitive. You can apply this type of animation to your mobile product as well. 

Six types of animation: loading, welcome, scrolling, image galleries, visual feedback, and storytelling.
Each type does a different job in the user experience.

Storytelling

Creative animated storytelling can convey a lot of information quickly and make your story engaging. For example, instead of writing a long article about your new hotel construction, you can create an animation that shows the construction process. Below you can see an example of what this kind of animated storytelling can look like:

Animation explaining a hotel's construction step by step

[Example of animated storytelling.]

Technologies for creating web animations

Now that you know the best types of animation, it's time to learn how to add them to your app. The usual workflow goes like this:

  • A designer creates a concept and shows it to a front-end developer.

  • The front-end developer checks the complexity of the animation and chooses the technology to implement it. Most of the time, the developer heads to CodePen to choose from thousands of ready-to-use solutions .

  • The front-end developer tests whether the animation works properly for the main use cases.

Let's look at the most popular technologies for creating great web animations.

CSS

CSS animations help you transition between different states using a set of keyframes. With high-performance CSS animations, you don't need external libraries. You can animate the elements of your web page in the Document Object Model (DOM) by setting CSS properties. Since you can change your animations with media queries, CSS animations are also good for responsive development. Instead of creating objects for keyframes and timing properties, you can pass their values directly.

However, with CSS animations you can't create complex physics effects or imitate realistic motion. And if you need more than three animations in a row, CSS animations won't work. Complex, sequential animations are better written in JavaScript.

JavaScript

JavaScript animations offer more power and flexibility than transitions or CSS-based animations, and they can also be used to move DOM elements around a page. Core JavaScript has its own animation function, but most animations are done through additional libraries, which significantly affect performance. JavaScript animations are commonly used to animate bouncing, pausing, stopping, and slowing down.

CSS animations need no libraries but fall short for complex effects; JavaScript is more flexible, but libraries affect performance.
JavaScript is better suited to complex, sequential animations.

 

SVG

SVG stands for Scalable Vector Graphics. Because vectors have no pixel limitations, SVG animations look crisp. No matter how you resize the page, SVGs keep their quality, unlike raster images.

SVG elements can be animated with CSS. But SVG also has its own animation syntax, called SMIL. SMIL is more powerful than CSS for SVG animations, because in CSS you can't animate some SVG properties, such as the shape of a path.

Canvas

With Canvas animations, you get great performance when animating many visualizations. Canvas provides a visual area where you can build complex animations with high-performance rendering. Canvas animations are all about working with pixels. And by using pixels, you can create complex drawings and interactions that don't hurt performance. 

WebGL

WebGL stands for Web Graphics Library, which is mostly used for demanding effects and 3D objects. It's also possible to use WebGL to create animations for virtual reality (VR). WebGL lets you render graphics at 60 frames per second. For WebGL animations you also use a canvas, but doing so is much harder and more complex. Most creative visual effects are made with WebGL.  

Web animation tools

Now let's move on to tools for creating great animations for your web pages. Most of the UI animation tools we'll discuss are external libraries you can use in your project.

JavaScript libraries

There are various third-party JavaScript libraries for creating animations. Let's take a look at some of them.

  • GreenSock (GSAP)

GSAP is a popular JavaScript animation library with many animation options. At its core, GSAP is a property manipulator. It captures a start value and an end value. Then it interpolates between those values 60 times per second.

GSAP is used to animate each property separately, so you can easily scale, rotate, and move anything. And GSAP is flexible, which makes it a great choice for animating almost anything: CSS, SVG, the DOM. In fact, you can use it anywhere JavaScript runs.

Properties animating separately on a timeline

 

  • ScrollMagic

ScrollMagic is a plugin you can use to manage scrolling animations. It's good for animating elements based on a user's scroll position and for pinning elements at specific scroll positions. With ScrollMagic, you can also add a parallax effect to your web page. ScrollMagic works with multiple frameworks for creating animations, although the recommended one is GSAP.

  • Velocity.js

Velocity.js is a full-featured JavaScript animation library. WhatsApp, Uber, MailChimp, and many other companies use Velocity.js for their websites. This library is typically used to create basic page UX motion and micro-interactions. Velocity.js offers SVG support, color animations, transforms, loops, scrolling, and easing features.

  • Mo.js

The Mo.js library works great for animating the UI and UX of your web pages because it supports custom motion graphics. Mo.js is modular, so you can use a custom-built library for your projects and avoid the overhead of a large file size. With Mo.js, you can move DOM and SVG DOM elements, but you can also create custom Mo.js objects with unique properties.

  • Anime.js

Anime.js works with all CSS properties, individual CSS transforms, SVG and DOM attributes, and JavaScript objects. Anime.js handles multiple timings, easing, playback controls, and more, while keeping the code lightweight.

  • Vivus

Vivus is a JavaScript library built to animate SVGs and give them the appearance of being drawn. It offers three different animation styles - delayed, sync, and OnebyOne - each of which determines how the SVG is animated as it's drawn. You can use Vivus to create unique animations by changing the animation styles, paths, and timing.

3D animations

The most popular tool for creating 3D animations is Three.js, a JavaScript library used to make WebGL easier. With its prebuilt components and methods, you can create 3D animations faster. 

Animation of a 3D object spinning in the browser

[ 3D animation .]

Building After Effects animations for the web

Motion designers mostly use Adobe After Effects to create animations. Developers then use various front-end animation tools. But there's a simpler way: using the Bodymovin extension for After Effects, you can export your animations in JSON format and use the Lottie library to add the animations to your site.

The animation is created in After Effects, exported as JSON with Bodymovin, and added to the site with the Lottie library.
Bodymovin and Lottie bring an animation to the site without hand-coding it.

No-code website builders

If you need a simple web page and don't want to code or use the technologies listed above, you can use tools for beginners - website builders. True, they can't be called animation software, but website builders usually let you animate objects on the site you build. You can find plenty of website builders and choose the one you like. These are just a few examples.

  • Readymag

Readymag is a popular tool for building web pages, and it can animate the elements on those pages. In Readymag, you can choose when you want an animation to start and apply basic effects such as move, rotate, scale, and opacity. If you need more complex animations, you can add steps so that one effect follows another. Readymag lets you create loading sequences, scrolling animations, and click and hover animations.

  • Webflow

Webflow also lets you create multi-step animations without coding. You can tie motion to scroll progress and transform element sizes, styles, and positions. You can also add micro-interactions to different elements so they move or change on hover or click. If you don't want to start from scratch, you can easily add prebuilt animations to your website.

  • Wix 

Wix is another website builder that lets you add animations to your site. You can use it to make text and buttons interactive with animations such as fade, float, slide, fly, fold, and spin. In addition, there's an option to animate page transitions, and to have elements fade in or disappear during transitions and move vertically or horizontally while scrolling.

Animations can help you build professional websites, highlight website elements, and keep users on your site longer. There are many animation technologies, tools, and techniques you can use to add dynamic or smooth animations to your web app, so choose the right ones to make your web app unique and modern. But don't get carried away with animations. Otherwise, you may end up with a slow, clunky website that scares users away instead of keeping them.