Miscellaneous Libraries

Small single-purpose libraries drop into any project, framework or not.

Popular single-purpose CSS libraries
Library What it gives you Licence Size (gzip)
normalize.css 8.0.1 Consistent defaults, keeps useful ones MIT 1.7 KB
Animate.css 4.1.1 224,191 90+ ready-made @keyframes Hippocratic 2.1 5.1 KB
Hover.css 2.3.2 29,403 Hover effects for links and buttons MIT or paid commercial 6.7 KB
Font Awesome 693 Free 7.3 Icon font and SVG icons CC BY 4.0, OFL, MIT 22.1 KB CSS + fonts
Bootstrap Icons 2,007 , Heroicons 222,394 , Lucide 97,889 SVG icons (Bootstrap Icons also as a font) MIT, MIT, ISC Per icon

normalize.css (53k stars) predates today's evergreen browsers, and Bootstrap 2,007 's Reboot (Starter Template and Reboot) already includes it, so add it only to hand-written stylesheets. Animate.css needs two classes, class="animate__animated animate__bounce", or you can reference its keyframes directly with animation: fadeInUp 0.4s. Its licence changed from MIT to the Hippocratic License, which adds human-rights conditions, so check it with your legal team before shipping commercial software. Hover.css is free under MIT only for personal and open-source work. Bootstrap Icons is covered in Bootstrap Icons.

Font Awesome and Bootstrap Icons loaded as icon fontsHTMLLive
<link rel="stylesheet"
  href="https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@7.3.1/css/all.min.css">
<link rel="stylesheet"
  href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.13.1/font/bootstrap-icons.min.css">
<p style="font: 28px system-ui; color: #1565c0; display: flex; gap: 24px">
  <i class="fa-solid fa-house"></i> <i class="fa-regular fa-bell"></i>
  <i class="fa-brands fa-github"></i> <i class="bi bi-cart3"></i>
  <i class="bi bi-gear"></i> <i class="bi bi-heart-fill" style="color: #c62828"></i>
</p>
Browser output of Listing 4.95
Browser output of 95