A simple tailwind plugin that adds WickedCSS animations by Kristoffer Andreasen to your project.
Tailwindcss >= v3.0.24 is required.
Ensure tailwindcss is installed first, instructions can be found at https://tailwindcss.com/docs/installation.
Install the wickedcss tailwind plugin via npm.
npm install --save-dev tailwind-wickedcss
Add the plugin to your tailwind.config.js
file.
plugins: [
// Other plugins
require('./tailwind-wickedcss')
]
Once installed you can use the animations the same way as tailwinds base animations.
<button type="button" class="bg-indigo-500 ..." disabled>
<svg class="animate-barrel-roll h-5 w-5 mr-3 ..." viewBox="0 0 24 24">
<!-- ... -->
</svg>
Processing...
</button>
To view a demo visit http://kristofferandreasen.github.io/wickedCSS/.
- .animate-barrel-roll
- .animate-bounce-in
- .animate-fade-in
- .animate-fade-out
- .animate-floater
- .animate-heartbeat
- .animate-pound
- .animate-pulse
- .animate-roller-left
- .animate-roller-right
- .animate-rotate-in
- .animate-rotate-in-left
- .animate-rotate-in-right
- .animate-rotation
- .animate-shake
- .animate-side-to-side
- .animate-slide-down
- .animate-slide-left
- .animate-slide-right
- .animate-slide-up
- .animate-spinner
- .animate-wiggle
- .animate-zoomer
- .animate-zoomer-out
Out of the box these animations support responsive
and hover
variants.
All credit goes to Kristoffer Andreasen for creating WickedCSS Animations.
This project is licensed under the MIT License.