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

Hover.css

by Ian Lunn Design Limited

Collection of CSS hover effects for links, buttons and icons (2D transitions, borders, shadows, icon motion) in CSS, Sass and Less.

Web animation examples and effects Code libraryminimalflat

GitHub repoWebsite

2. Commercial use: raw.githubusercontent.com

“For commercial use, Hover.css is made available under Commercial, Extended Commercial, and OEM Commercial licenses.”

Commercial use needs a paid Commercial, Extended Commercial or OEM license.

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

Hover.css: ready hover effects for buttons and links

Hover.css is a set of ready effects that play when the mouse moves over a button, link or picture, such as growing, wobbling or a sliding underline. You add one class name to an element and the effect works, with no scripts. It is free for personal and open-source projects; a paid license is needed for commercial sites and client work.

Where you can use it

A button that grows on hover

Make a "Add to basket" button grow a little when the mouse is over it, by pasting one small effect into your styles. Only that effect loads, not the whole set.

Many effects across a site

Link the whole stylesheet once, then give buttons, menu links and cards their own effect by class name, such as a sweep, a pulse or an underline.

Icons that move on hover

Put an arrow in a "Next" link and make the arrow slide forward, or a gear spin, when the mouse is over the link. Any icon set or image works.

Effects on a WordPress site

When you cannot edit the page code, add the effects from your theme's style file and then use the class names in posts and menus.

Ideas for your own effects

Browse the demo page for a style you like, then change its timing or colors in your own styles instead of starting from zero.

Menu links on a personal blog Idea

Give the links in a personal blog's menu a sliding underline, so readers see where the mouse is.

Hover.css popularity

25 / 100
Gid Score, same scale as developer tools
29,415
GitHub stars
3,320
npm downloads, last 7 days
-47.2% in 4 weeks
Hover.css: downloads per weeknpm, hover.css 3,320
Hover.css: GitHub starsIanLunn/Hover 29,415

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

“This is a personal, non-commercial site, so copy only the hvr-grow and hvr-underline-from-left effects from Hover.css 2.3.2 into my stylesheet and add the classes to the main button and the menu links.”

Or install it yourself. Get the files from the package or download them from the project page.

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

Copy the one effect you need into your styles, or link the whole minified file.

<link href="css/hover-min.css" rel="stylesheet">

Mistakes to avoid

adding Hover.css to a client or commercial site because the free license is called MIT
ask the person to buy a Commercial (one project) or Extended (unlimited) license first, or pick a fully free library

The free license covers only personal and open-source projects that are not sold.

class="grow" (names from version 1)
class="hvr-grow"

Since version 2.0.0 every class name starts with hvr-.

an icon effect class on the link with no class on the icon itself
put hvr-icon on the icon element inside the link

Hover.css moves only the element marked as the icon.

linking the full hover.css for one or two effects
copy just those effects into your own stylesheet

Visitors would download every effect.

License

MIT for personal/open source; paid Commercial licenses. Free under an MIT license for personal and open-source projects that are not sold. A website sold to a client, a theme for sale or other commercial work needs a paid license.

Commercial use
With conditions

“For commercial use, Hover.css is made available under Commercial, Extended Commercial, and OEM Commercial licenses.” raw.githubusercontent.com

Credit
Not needed

“For personal/open source use, Hover.css is made available under a [MIT license]” raw.githubusercontent.com

Inside your app or game
With conditions

“Your application can't be sold” raw.githubusercontent.com

Pass the files on to your users
With conditions

“Your modifications remain open-source” raw.githubusercontent.com

AI training
Not stated
Bots and bulk downloads
Not stated

AllowedWith conditionsNot allowedNot stated or not checked yet

Is Hover.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 Hover.css. Paste them into your prompt or AGENTS.md.

License rules
- Hover.css (Web animation examples and effects, UI animation (Lottie, Rive)). Collection of CSS hover effects for links, buttons and icons (2D transitions, borders, shadows, icon motion) in CSS, Sass and Less. Price: free tier; commercial use with conditions; no credit needed; ship inside your app with conditions; pass the files on to your users only with conditions. Style: minimal, flat.
  Connect: npm hover.css.
  Get files: npm install hover.css or copy the single effect's CSS from the GitHub repo; for commercial projects the user buys a license first (css, scss, less).
  Not allowed: Paid license for commercial use
  Rule: Commercial or client sites need a paid Hover.css license.
  Rule: Free use only for personal/open-source projects.
  License: https://raw.githubusercontent.com/IanLunn/Hover/master/license.txt (checked 2026-11-05; details: https://agentgid.com/assets/hover-css/)
Can an agent use it by itself?
Yes.

Agent installs a package or loads it from a CDN.

Install
npm install hover.css
How an agent gets files
npm install hover.css or copy the single effect's CSS from the GitHub repo; for commercial projects the user buys a license first.

Formats: css, scss, less

Repository
API, key or account
Not needed. Everything runs on your side.
MCP server
None found
This card for machines

Alternatives

Hover.css This page

Free tier With conditions npm

Animate.css

Pick Animate.css for ready entrance and attention animations added with one class, under a license that allows paid products.

Free With conditions npm

Uiverse

Pick Uiverse for community-made buttons and other elements with hover states, all under MIT.

Free Commercial OK Download

GSAP (GreenSock)

Pick GSAP when hover effects should be part of bigger scripted animations, with all its plugins free.

Free Commercial OK npm

Theatre.js

Animation library with a visual timeline editor for motion graphics on the web: animate DOM, three.js/R3F scenes and any JS values.

Free Commercial OK npm

The Book of Shaders

Step-by-step online guide to fragment shaders (noise, patterns, shaping functions) with live editable examples; for learning, not reuse.

Free Non-commercial Download

All web animation examples and effects

Questions

Can I use Hover.css on a site I build for a client?

Yes, with a paid Commercial license, which allows selling the site once; free use is only for personal and open-source projects.

Can I sell a website template that uses it?

Yes, with the Extended Commercial license, which allows selling your applications an unlimited number of times.

Do I need JavaScript?

No. Each effect is self-contained styling on a single element, so you can copy and paste it.

Do the effects work with keyboard users?

The Grow example also runs on focus and active, not only on mouse hover.