Skip to content
Agents tracked: 502 Releases (7d): 613 Agent status: 4 with issuesSince last limit reset: Claude 7d · Codex 5d For AI agents: Markdown Updated Nov 18, 2026

Animate.css

by Daniel Eden (animate-css)

Ready-made CSS keyframe animations (bounce, fade, slide, zoom, attention seekers) added with one class name.

Web animation examples and effects Code libraryOpen sourceplayfulminimal

GitHub repoWebsite
Six colored tiles, one row per effect (bounceIn, zoomIn, flipInX, rubberBand, tada, lightSpeedInRight), each shown at 0.10 to 0.95 seconds into its movement.
Made by AgentGid with animate.css 4.1.1 (npm). The npm release 4.1.1 we used carries the MIT license in its files, which allows showing it; the tiles and layout are our own. The project's GitHub license file is now the Hippocratic License 2.1 (see license).

2. Commercial use: raw.githubusercontent.com

“to do everything with the Software that would otherwise infringe”

Paid use is allowed; the current license requires use consistent with human rights principles and laws (release 4.1.1 itself is marked MIT).

raw.githubusercontent.com

License checked Nov 5, 2026 against 1 official page. Tap a verdict to see its source. How we checked Report an error

Animate.css: ready-made effects added with a class name

Animate.css is a free style file with ready-made movements, such as bounce, fade in, zoom in or shake. You add one or two class names to a heading, button or picture, and it plays that movement once. No programming is needed for the basic use.

Where you can use it

A heading that enters the page

Let the main heading or a hero picture fade, zoom or bounce in when the page opens, so the first screen does not feel static.

A nudge on an important button

Make a sign-up button or a new message badge pulse, shake or wobble once, to draw the eye to it without a pop-up.

Messages that slide in and out

Slide a notice or a toast in when something happens and out again, then remove it from the page when its movement ends.

Slides and home page sections

Give slides in a slider or blocks on a home page a short entrance, so each new part is clearly announced.

Shake a field on a wrong password Idea

Shake the password box sideways once when the login fails, the way many phones do, next to the error text.

A small celebration when a task is done Idea

Play a short tada or heartbeat on a check mark when someone finishes a step in a to-do list or an onboarding.

Animate.css popularity

55 / 100
Gid Score, same scale as developer tools
83,015
GitHub stars
775.9K
npm downloads, last 7 days
+23.1% in 4 weeks
6
AI-agent projects using it, from our repo scan of 4,817
Animate.css: downloads per weeknpm, animate.css 775,936
Animate.css: GitHub starsanimate-css/animate.css 83,015

Downloads from api.npmjs.org, stars from GitHub, checked Nov 17, 2026. How the Gid Score is calculated

How to start

Tell your AI assistant

“Add animate.css 4.1.1 to the page and give the hero heading animate__animated animate__fadeInDown; keep the built-in reduced-motion rule and do not use animate__infinite.”

Or install it yourself. Add the style file, either from the package or with one link tag in the page head.

npm install animate.css --save
Show codeStep 1 or Step 2

With a bundler, import the file once in your main script.

import 'animate.css';

Mistakes to avoid

class="animated bounce" (version 3 names from old tutorials)
class="animate__animated animate__bounce"

Version 4 put the animate__ prefix on every class; only animate.compat.css keeps the old names.

Putting the effect on a <span> or <a> as is
Give the element display: inline-block (or animate a block, flex or grid element)

Inline elements are not reliably animated and break in some browsers.

Adding animate__infinite to a call-to-action button
Play the effect once, or a set number of times with animate__repeat-2

The docs warn that endless movement distracts and annoys people.

Overriding the prefers-reduced-motion rule so the effects always play
Leave the built-in rule; if the page needs the motion, show a notice instead

The rule protects people with vestibular and seizure disorders.

Slide-in effects inside a full-width section with no clipping
Set overflow: hidden on the parent of the moving element

Elements moving in from the side can create a horizontal scrollbar.

License

Hippocratic License 2.1 (repo LICENSE; npm 4.1.1 says MIT). The published version 4.1.1 is marked MIT, but the project's license file and site now name the Hippocratic License 2.1. That license allows free use, also in paid products, as long as the use respects human rights. Keep the license and copyright notice with copies.

Commercial use
With conditions

“to do everything with the Software that would otherwise infringe” raw.githubusercontent.com

Credit
Not needed

“Licensee must ensure that everyone who gets a copy of any part of this Software from Licensee, with or without changes, also receives the License and the above copyright notice” raw.githubusercontent.com

Inside your app or game
With conditions

“Licensee shall use the Software in a manner consistent with Human Rights Principles.” raw.githubusercontent.com

Pass the files on to your users
With conditions

“the portion of the Software not modified must be distributed pursuant to this License” raw.githubusercontent.com

AI training
Not stated
Bots and bulk downloads
Not stated

AllowedWith conditionsNot allowedNot stated or not checked yet

Is Animate.css free for commercial use? The full answer Not legal advice. Check the license page before you ship.

For your agent

License rules tell your agent what it may do with Animate.css. Paste them into your prompt or AGENTS.md.

License rules
- Animate.css (Web animation examples and effects, UI animation (Lottie, Rive)). Ready-made CSS keyframe animations (bounce, fade, slide, zoom, attention seekers) added with one class name. Price: free; commercial use with conditions; no credit needed; ship inside your app with conditions; pass the files on to your users only with conditions. Style: playful, minimal.
  Connect: npm animate.css.
  Get files: npm install animate.css (or CDN), then add class="animate__animated animate__fadeIn" (css).
  Not allowed: Hippocratic License human-rights conditions
  Rule: Keep the license and copyright notice in the CSS file.
  Rule: Use must be consistent with the license's human-rights conditions.
  License: https://raw.githubusercontent.com/animate-css/animate.css/main/LICENSE (checked 2026-11-05; details: https://agentgid.com/assets/animate-css/)
Can an agent use it by itself?
Yes.

Agent installs a package or loads it from a CDN.

Install
npm install animate.css
How an agent gets files
npm install animate.css (or CDN), then add class="animate__animated animate__fadeIn".

Formats: css

API, key or account
Not needed. Everything runs on your side.
MCP server
None found
Credit line, if you want one
Animations: Animate.css (animate.style)
This card for machines

Alternatives

Animate.css This page

Free With conditions npm

AOS (Animate On Scroll)

Pick AOS when blocks should fade, slide or zoom in as the visitor scrolls down to them, set with attributes in the page.

Free Commercial OK npm

AutoAnimate

Pick AutoAnimate when items in lists or layouts should move smoothly as they are added, removed or reordered.

Free Commercial OK npm

GSAP (GreenSock)

Pick GSAP when you need timelines, scroll-linked effects or text and shape animation written in code.

Free Commercial OK npm

three.js examples

Hundreds of official three.js WebGL/WebGPU examples (shaders, particles, post-processing, loaders) with full source in the repo's examples folder.

Free Commercial OK npm

React Three Fiber examples

Gallery of React Three Fiber scenes (shaders, portals, caustics, scroll, physics, glass) linked to runnable sandboxes with source.

Free Commercial OK npm

All web animation examples and effects

Questions

Do I need to write code to use it?

No. You add the style file and put two class names on an element; a script is only needed to start an effect later.

Can I make the effects faster or slower?

Yes. Add a speed class such as animate__faster, or set --animate-duration for one element or the whole page.

What happens for people who turn off motion on their device?

The effects switch off for them automatically, with no extra work.

Can I use it in a paid product?

Yes, with conditions. Release 4.1.1 is marked MIT; the current license file is the Hippocratic License 2.1, which allows any use that respects human rights and asks you to keep its notice.

Why does my link or span not move?

Inline elements cannot be animated reliably; set them to inline-block first.