Convert Figma logo to code with AI

danielcardoso logoload-awesome

An awesome collection of — Pure CSS — Loaders and Spinners

1,025
152
1,025
11

Top Related Projects

19,350

A collection of loading indicators animated with CSS

Delightful, performance-focused pure css loading animations.

A collection of loading spinners animated with CSS

3,516

This could take a while

🔮 CSS loading animations made with single element.

Quick Overview

Load Awesome is a collection of CSS loading animations created by Daniel Cardoso. It provides a variety of eye-catching, customizable loading indicators that can be easily integrated into web projects to enhance user experience during content loading or processing times.

Pros

  • Wide variety of animation styles (40+ options)
  • Lightweight and easy to implement
  • Customizable colors and sizes
  • No JavaScript required, pure CSS animations

Cons

  • Limited browser support for older versions (requires modern CSS features)
  • Some animations may be resource-intensive on low-end devices
  • Lack of recent updates or maintenance (last update in 2016)

Code Examples

  1. Basic usage:
<div class="la-ball-pulse la-dark la-2x">
    <div></div>
    <div></div>
    <div></div>
</div>

This code creates a simple "ball pulse" animation with dark color and 2x size.

  1. Customizing colors:
<div class="la-pacman la-3x" style="color: #f0ad4e;">
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
</div>

This example shows a "pacman" animation with a custom color and 3x size.

  1. Inline spinner:
<p>Loading <span class="la-line-scale la-sm" style="color: #5bc0de;">
    <span></span>
    <span></span>
    <span></span>
    <span></span>
    <span></span>
</span></p>

This code demonstrates how to use a small "line scale" animation inline with text.

Getting Started

  1. Download the load-awesome.min.css file from the repository.
  2. Include the CSS file in your HTML:
<link rel="stylesheet" href="path/to/load-awesome.min.css">
  1. Add the desired animation to your HTML using the appropriate class names:
<div class="la-ball-atom la-2x">
    <div></div>
    <div></div>
    <div></div>
    <div></div>
</div>
  1. Customize the size and color as needed using additional classes or inline styles.

Competitor Comparisons

19,350

A collection of loading indicators animated with CSS

Pros of SpinKit

  • Simpler and more lightweight, focusing solely on CSS-based loading spinners
  • Easier to implement with minimal setup required
  • Provides a variety of clean and modern spinner designs

Cons of SpinKit

  • Limited to spinner-style loading animations
  • Fewer customization options compared to Load Awesome
  • Less frequent updates and maintenance

Code Comparison

SpinKit example:

.spinner {
  width: 40px;
  height: 40px;
  background-color: #333;
  margin: 100px auto;
  -webkit-animation: sk-rotateplane 1.2s infinite ease-in-out;
  animation: sk-rotateplane 1.2s infinite ease-in-out;
}

Load Awesome example:

.la-ball-8bits,
.la-ball-8bits > div {
    position: relative;
    -webkit-box-sizing: border-box;
       -moz-box-sizing: border-box;
            box-sizing: border-box;
}

SpinKit focuses on simple, single-element spinners with straightforward CSS animations. Load Awesome offers more complex, multi-element loaders with intricate animations and customization options.

Both libraries provide easy-to-use, CSS-based loading animations, but they cater to different needs. SpinKit is ideal for quick implementation of simple spinners, while Load Awesome offers a wider range of animation styles and customization options for more diverse loading indicators.

Delightful, performance-focused pure css loading animations.

Pros of loaders.css

  • Offers a wider variety of loader animations (42 compared to 26 in Load Awesome)
  • Smaller file size, making it more lightweight for web projects
  • Includes SCSS source files for easier customization

Cons of loaders.css

  • Less detailed documentation compared to Load Awesome
  • Doesn't provide as many customization options out of the box
  • Lacks built-in support for changing colors dynamically

Code Comparison

Load Awesome:

<div class="la-ball-spin la-dark la-2x">
    <div></div>
    <div></div>
    <div></div>
    <div></div>
</div>

loaders.css:

<div class="loader-inner ball-pulse">
  <div></div>
  <div></div>
  <div></div>
</div>

Both libraries use similar HTML structures for their loaders, with Load Awesome using a more specific class naming convention. loaders.css tends to have slightly simpler markup for some animations.

Load Awesome provides more customization classes (e.g., la-dark, la-2x) directly in the HTML, while loaders.css relies more on CSS customization for such modifications.

Overall, loaders.css is more lightweight and offers more animation options, while Load Awesome provides better documentation and easier out-of-the-box customization.

A collection of loading spinners animated with CSS

Pros of css-loaders

  • Lightweight and focused solely on CSS-based loaders
  • Simple implementation with minimal code required
  • Easy to customize and integrate into existing projects

Cons of css-loaders

  • Limited variety of loader styles compared to load-awesome
  • Lacks JavaScript functionality for more complex animations
  • No built-in support for changing colors or sizes dynamically

Code Comparison

css-loaders:

.loader {
  border: 16px solid #f3f3f3;
  border-top: 16px solid #3498db;
  border-radius: 50%;
  width: 120px;
  height: 120px;
  animation: spin 2s linear infinite;
}

load-awesome:

<div class="la-ball-spin-clockwise la-dark la-2x">
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
</div>

Summary

css-loaders offers a straightforward approach to implementing CSS-based loaders with minimal code. It's ideal for developers looking for quick and simple loading animations. However, load-awesome provides a more extensive collection of loader styles and includes JavaScript functionality for enhanced customization. While css-loaders is lighter and easier to implement, load-awesome offers greater flexibility and variety for more complex projects.

3,516

This could take a while

Pros of loading

  • Minimalist approach with simple, clean SVG-based loaders
  • Easily customizable through CSS properties
  • Lightweight with no dependencies

Cons of loading

  • Limited variety of loader styles (only 3 types)
  • Less feature-rich compared to load-awesome
  • No built-in color themes or animations

Code Comparison

load-awesome:

<div class="la-ball-spin-clockwise la-dark la-2x">
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
</div>

loading:

import { Spinner } from 'loading'

<Spinner />

Summary

load-awesome offers a wide variety of CSS-based loaders with multiple animations and color options. It provides more customization possibilities but requires more markup.

loading focuses on simplicity with SVG-based loaders that are easy to implement and style. It's more lightweight but offers fewer options out of the box.

Both libraries serve their purpose well, with load-awesome being more suitable for projects requiring diverse loader styles, while loading is ideal for minimalist designs and quick implementation.

🔮 CSS loading animations made with single element.

Pros of Three Dots

  • Simpler and more lightweight, focusing solely on loading animations
  • Easier to implement with minimal CSS classes
  • Modern, clean design aesthetic

Cons of Three Dots

  • Limited variety of loading animations compared to Load Awesome
  • Less customization options for colors and sizes
  • No built-in support for SVG-based loaders

Code Comparison

Three Dots:

<div class="dot-elastic"></div>

Load Awesome:

<div class="la-ball-pulse la-dark la-2x">
    <div></div>
    <div></div>
    <div></div>
</div>

Three Dots offers a simpler implementation with a single div element, while Load Awesome requires multiple nested divs for more complex animations.

Summary

Three Dots is a lightweight and easy-to-use loading animation library, ideal for projects that require simple and modern loading indicators. Load Awesome, on the other hand, provides a wider range of animation options and customization features, making it suitable for more diverse use cases. The choice between the two depends on the specific needs of the project, with Three Dots excelling in simplicity and Load Awesome offering greater versatility.

Convert Figma logo designs to code with AI

Visual Copilot

Introducing Visual Copilot: A new AI model to turn Figma designs to high quality code using your components.

Try Visual Copilot

README

Load Awesome

An awesome collection of — Pure CSS — Loaders and Spinners

A full suite of 53 animations for websites, created and maintained by Daniel Cardoso.

Bower version Issues License devDependency Status

Table of contents

Browser Support

ChromeFirefoxIESafariOpera
Latest ✔Latest ✔10+ ✔Latest ✔Latest ✔

Quick start

Several quick start options are available:

Usage

Standard

  • Include specific css file (e.g. ball-atom.css)
  • Create an element and add the animation class (e.g. <div class="la-ball-atom"></div>)
  • Insert the appropriate number of childrens <div>s into the previous element

Customising

Changing all colors

Add styles to the main:

.la-ball-atom {
    color: #79bbb5;
}

Changing color of specific elements

Add styles to the correct child div elements:

.la-ball-atom > div:nth-child(1) {
    color: #f4696b;
}
.la-ball-atom > div:nth-child(2) {
    color: #87c4a3;
}
.la-ball-atom > div:nth-child(3) {
    color: #fec54f;
}

Versioning

Load Awesome will be maintained under the Semantic Versioning guidelines. Releases will be numbered with the following format:

<major>.<minor>.<patch>

For more information on SemVer, please visit http://semver.org.

Creator

Daniel Cardoso

License

The MIT License (MIT)

Copyright (c) 2015 DanielCardoso.net

NPM DownloadsLast 30 Days