# Animate.css — card for AI agents

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

Category: Web animation examples and effects (also: UI animation (Lottie, Rive)) · maker Daniel Eden (animate-css) · checked 2026-11-05 · style: playful, minimal

## Price
- Price: Free
- Free tier: Fully free.

## License
Hippocratic License 2.1 (repo LICENSE; npm 4.1.1 says MIT) — https://raw.githubusercontent.com/animate-css/animate.css/main/LICENSE

- commercial: **conditions** (Commercial use with conditions)
  > to do everything with the Software that would otherwise infringe
  (https://raw.githubusercontent.com/animate-css/animate.css/main/LICENSE)
- attribution: **no** (No credit 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
  (https://raw.githubusercontent.com/animate-css/animate.css/main/LICENSE)
- in app: **conditions** (Ship inside your app with conditions)
  > Licensee shall use the Software in a manner consistent with Human Rights Principles.
  (https://raw.githubusercontent.com/animate-css/animate.css/main/LICENSE)
- redistribute: **conditions** (Pass the files on to your users only with conditions)
  > the portion of the Software not modified must be distributed pursuant to this License
  (https://raw.githubusercontent.com/animate-css/animate.css/main/LICENSE)

## Rules to follow
- Keep the license and copyright notice in the CSS file.
- Use must be consistent with the license's human-rights conditions.

## Can an AI agent use it by itself?
**Yes** · package: Agent installs a package or loads it from a CDN

## How an agent gets files
- npm install animate.css (or CDN), then add class="animate__animated animate__fadeIn". (sign-in: none)
- Formats: css
- Not allowed: Hippocratic License human-rights conditions

## How to connect
- Package (npm/PyPI)
- npm: `npm install animate.css`
- Repository: https://github.com/animate-css/animate.css
- Website: https://animate.style

## Notes
Contradiction: the GitHub LICENSE is the Hippocratic License 2.1, while the npm package 4.1.1 declares MIT. Values follow the stricter repo LICENSE.

## Numbers (AgentGid data)
- Gid Score: 55
- GitHub stars: 83,015
- Downloads last week: 775,936
- Used in 6 public projects set up for AI coding agents

## Lines to paste into your prompt or AGENTS.md

```
- 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/)
```

## Links
- AgentGid page: https://agentgid.com/assets/animate-css/
- Is it free for commercial use? https://agentgid.com/assets/animate-css/commercial-use/
- Source: https://animate.style/
- Source: https://raw.githubusercontent.com/animate-css/animate.css/main/LICENSE
- Source: https://registry.npmjs.org/animate.css/latest


## 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 to 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: Shake the password box sideways once when the login fails, the way many phones do, next to the error text. (idea, not from the official pages)
- A small celebration when a task is done: Play a short tada or heartbeat on a check mark when someone finishes a step in a to-do list or an onboarding. (idea, not from the official pages)

### How to start
- Add the style file, either from the package or with one link tag in the page head.

```
npm install animate.css --save
```

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

```
import 'animate.css';
```

- Put the base class and an effect name on the element.

```
<h1 class="animate__animated animate__bounce">An animated element</h1>
```


### License
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.

### Good to know
- The newest release is 4.1.1 from September 2020; no newer version has been published since.
- Version 4 added the animate__ start to every class name. Older guides that use "animated bounce" will not work with the current file.
- Movement turns off by itself for people who chose "reduce motion" on their device. The docs ask you never to switch this off.
- Effects start when the class is added. Starting them on scroll or repeating with a pause between runs needs a small script or another library.

Checked 2026-11-09 against: https://animate.style/, https://github.com/animate-css/animate.css, https://github.com/animate-css/animate.css/blob/main/README.md, https://github.com/animate-css/animate.css/blob/main/LICENSE, https://registry.npmjs.org/animate.css, https://registry.npmjs.org/animate.css/latest, https://registry.npmjs.org/animate.css/4.1.1

### Mistakes to avoid
- Don't: class="animated bounce" (version 3 names from old tutorials) → Do: class="animate__animated animate__bounce" (Version 4 put the animate__ prefix on every class; only animate.compat.css keeps the old names.)
- Don't: Putting the effect on a <span> or <a> as is → Do: 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.)
- Don't: Adding animate__infinite to a call-to-action button → Do: Play the effect once, or a set number of times with animate__repeat-2 (The docs warn that endless movement distracts and annoys people.)
- Don't: Overriding the prefers-reduced-motion rule so the effects always play → Do: Leave the built-in rule; if the page needs the motion, show a notice instead (The rule protects people with vestibular and seizure disorders.)
- Don't: Slide-in effects inside a full-width section with no clipping → Do: Set overflow: hidden on the parent of the moving element (Elements moving in from the side can create a horizontal scrollbar.)

### 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.

---
AgentGid's catalog is curated: every entry was checked against the maker's official pages (registry, repository, license and pricing pages) on the date shown; a license value shows the quote it stands on wherever AgentGid has one. Usage numbers come from AgentGid's own scan of public repositories set up for AI coding agents. Claims by makers are reported, not tested by AgentGid.
