Home >Web Front-end >JS Tutorial >Front-end tool sharing: 27 animation libraries to improve user experience and page beauty!
This article summarizes and shares 27 front-end animation libraries to make your interactions more cool, improve user experience and page beauty. I hope it will be helpful to everyone!
Many times when we develop front-end pages, we will make some animation effects to improve user experience and page beauty, so today I will recommend some useful ones to you. JavaScript animation library. [Related recommendations: javascript learning tutorial]
animate.css is a CSS collection of animation effects produced using CSS3 animation, which is preset There are many commonly used animations, and they are very easy to use.
GitHub: https://github.com/animate-css/animate.css
Hover.css is a set of mouse hover effects and animations based on CSS3, which can be easily applied to elements such as buttons, logos, and pictures. All of these effects require only a single tag, using before and after pseudo-elements when necessary. Because it uses CSS3 transitions, transitions, and animations, it is only supported in modern browsers such as Chrome, Firefox, and Safari.
Github: https://github.com/IanLunn/Hover
Magic CSS3 Animations animation is a unique CSS3 animation special effects package that can be freely used in web pages. Simply introduce the CSS file on the page: magic.css or the compressed version magic.min.css and it is ready to use.
Github: https://github.com/miniMAC/magic
react- spring is a spring physics-based animation library that meets most UI-related animation needs, providing tools flexible enough to confidently project ideas into changing interfaces. This library represents a modern approach to animation. It inherits the powerful interpolation and performance of animated and the ease of use of react-motion.
GitHub: https://github.com/pmndrs/react-spring
React Reveal is a high-performance animation library for React. It has a small footprint and is written specifically for React in ES6. Can be used to create a variety of cool scrolling effect displays.
GitHub: https://github.com/rnosov/react-reveal
GreenSock is a JavaScript animation library that makes it easy to animate HTML elements. Used to create high-performance, zero-dependency, cross-browser animations, claimed to be used in over 4 million websites. It has the following characteristics:
Github: https://github.com/greensock/GreenSock-JS/
Velocity.js is the javascript implementation of velocity template syntax. Velocity is a Java-based template engine that is widely used in various subsidiaries of Alibaba Group. Velocity templates are suitable for a large number of template usage scenarios and support complex logical operations, including functions such as data types, variable assignments, and functions. Also has: Color animation, Transformation animation (transforms), Loop, Easing, SVG animation, and scroll animation and other special features. Velocity.js supports Node.js and browser environments.
It has the following characteristics:
##GitHub: http:/ /github.com/julianshapiro/velocityLax.jsLax.js is a native zero-dependency JavaScript animation plug-in that makes the page slide. This plug-in is very Lightweight, the compressed version is only 3kb in size. When sliding the page, it helps to create cool animation effects, such as scrolling parallax, deformation movement and other basic animation effects. In terms of responsive compatibility, it also has good support for mobile phones. In addition to using the default animation attributes integrated by the plug-in, you can also customize richer animation attributes.
GitHub: https://github.com/alexfoxy/lax.jsRellax.jsrellax.js is a lightweight pure JavaScript scrolling visual difference effect plug-in. The compressed version of rellax.js is only 871 bytes. In small screen devices such as mobile phones, the plug-in will automatically limit the visual difference feature.
Github: https://github.com/dixonandmoe/rellaxthree.jsthree .js is an easy-to-use, lightweight, cross-browser universal JavaScript 3D library. It is a set of Javascript function libraries developed based on WebGL. It provides a simpler Javascript API than WebGL, allowing developers to easily Create 3D drawings in the browser.
GitHub: https://github.com/mrdoob/three.js/wow.jsWOW.js is a plug-in that helps you trigger CSS animation effects when scrolling the page. It relies on animate.css, so it supports more than 60 animation effects of animate.css. You can change the animation settings to your favorite style, delay, length, offset and iteration, etc., to meet various needs.
GitHub: https://github.com/graingert/wowAniJSAniJS allows us Create animated styles for your website without any JavaScript or CSS coding! You can specify all animations in HTML using the simple
If - On - Do - To syntax
GitHub: https://github.com/anijs/anijsAnime.jsAnime.js is a lightweight JavaScript Animation library with simple yet powerful API. CSS properties, SVG, DOM and JavaScript objects can be animated. It is very lightweight, only about 9kb after gzip compression.
GitHub: https://github.com/juliangarnier/anime/Typed.js typed.js is a typed library. The effect is to display a paragraph in the way of a typewriter. You can customize any string, specify the display speed, specify whether to loop, etc.
GitHub: https://github.com/mattboldt/typed.js/Vivus Vivus is a lightweight JavaScript library (no dependencies) that allows us to animate SVGs so that they appear to be drawn. It has several different animations available, as well as the option to create custom scripts to draw the SVG any way you like.
GitHub: https://github.com/maxwellito/vivusPopmotionPopmotion is a Only 12KB of JavaScript motion engine can be used to implement animation, physics effects and input tracking. Native DOM support: CSS, SVG, SVG path and DOM attribute support, out of the box.
GitHub: https://github.com/popmotion/popmotion
granim.js is a small JavaScript library for creating smooth interactive fluid animations in web pages. granim.js can achieve various desired gradient animation effects. Make the web page more colorful and have better visual effects!
GitHub: https://github.com/sarcadass/granim.js
Kute.js is a native Javascript animation engine with excellent performance and modular code. It provides a bunch of tools to help create custom animations. It provides easy-to-use methods for setting up high-performance, cross-browser animations.
GitHub: https://github.com/thednp/kute.js
simpleParallax.js is a very simple and small Vanilla JS library to add parallax animation on any image. It stands out for its ease of use and visual rendering. Parallax effects are applied directly to image labels without using a background image.
GitHub: https://github.com/geosigno/simpleParallax.js
Barba.js is a small (4kb gzipped and minified), flexible and dependency-free library that helps you create smooth and smooth transitions between the pages of your website. It reduces delays between pages, minimizes browser HTTP requests and enhances users' web experience.
GitHub: https://github.com/barbajs/barba
Mo .js is a concise and efficient graphics animation library with smooth animation and amazing user experience. The screen density independent effect is very good on any device. It can draw built-in shapes or custom shapes, and can also draw multiple shapes. animation, and then connect them together.
GitHub: https://github.com/mojs
Particles.js A lightweight JavaScript library for creating particle effects on web pages.
GitHub: https://github.com/VincentGarreau/particles.js/
tsParticles makes it easy to create highly customizable particle animations and use them as animated backgrounds for your website. Ready-to-use components available for React.js, Vue.js (2.x and 3.x), Angular, Svelte, jQuery, Preact, Inferno, Solid, Riot, and Web Components.
GitHub: https://github.com/matteobruni/tsparticles
Rough Notation is a small JavaScript library for creating and animating annotations on web pages. It uses RoughJS to create a hand-drawn look and feel. Elements can be annotated in a number of different styles. Animation duration can be configured, or just turned off. The compressed size is only 3.83kb.
GitHub: https://github.com/rough-stuff/rough-notation
Animate on Scroll is a JavaScript animation library that creates animations on the page.
GitHub: https://github.com/topics/animate-on-scroll
Motion is Framer's production-ready motion library for React. It brings declarative animations, easy layout transitions, and gestures while maintaining HTML and SVG semantics. Motion extends React's event system with a powerful gesture recognizer. It supports hover, click, pan and drag. Note that Motion requires React 16.8 or higher.
GitHub: https://github.com/framer/motion
React Motion is an animation library for React applications that makes it easy to create and implement realistic animations.
GitHub: https://github.com/chenglou/react-motion
[Related video tutorial recommendations: web front-end 】
The above is the detailed content of Front-end tool sharing: 27 animation libraries to improve user experience and page beauty!. For more information, please follow other related articles on the PHP Chinese website!