whirl is a curation of CSS loading animations(whirls! 😅). It started as a drop in
CSS file to get easy animations using
:pseudo elements. It's now a collection of loading animations to use, take inspiration from, change and do what you want with 👍
It's inefficient. It's likely an app will only use one or two loaders. Pulling them all into an app would be overkill. Most projects use some form of bundling making it possible to import a single loader's styles.
You've got different options here.
You can install
whirl and import the styles you want. You get both CSS and SASS files 👍
npm i @jh3y/whirl yarn add @jh3y/whirl
Alternatively, you can grab the CSS or SASS and change to your needs. There's a dynamic link in the demo. Or visit the latest versions tag branch 👍
⚠️ Be aware that if you're bundling, you'll likely have to override some styles. Be careful with conflicting classnames or animation names.
@jh3y 🐻 2019