
Security News
Deno 2.2 Improves Dependency Management and Expands Node.js Compatibility
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
@jcamp/tailwindcss-plugin-animate
Advanced tools
An updated animation plugin for Tailwind CSS v3
Easily add animations to your Tailwind projects. Uses the animations from animate.css but through Tailwind's system.
<div class="animate-shake-x animate-delay animate-infinite">(icon)</div>
Keyframes are only added to the generated CSS if an animation using them is added.
npm i -D @jcamp/tailwindcss-plugin-animate
Then add the plugin to your tailwind.config.js
file:
// tailwind.config.js
const animate = require('@jcamp/tailwindcss-plugin-animate')
module.exports = {
theme: {
// ...
},
plugins: [
animate({
/* options */
}),
// ...
],
}
Refer to the type definition for all configurations avaliable.
This plugin is heaviliy inspired by and based on the work of tailwindcss-animate.css created by Fabian Bentz. Unfortunately, this package has not been updated in a few years and not for Tailwind v3 either.
It is also includes some ideas by Jamie Kyle and his work at tailwindcss-animate. I wanted more keyframes built in, but liked his ideas for matching utilities.
MIT License © 2022-PRESENT John Campion
[0.1.0] - 2022-08-13
Initial release!
FAQs
An updated animation plugin for Tailwind CSS v3
The npm package @jcamp/tailwindcss-plugin-animate receives a total of 13 weekly downloads. As such, @jcamp/tailwindcss-plugin-animate popularity was classified as not popular.
We found that @jcamp/tailwindcss-plugin-animate demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
Security News
React's CRA deprecation announcement sparked community criticism over framework recommendations, leading to quick updates acknowledging build tools like Vite as valid alternatives.
Security News
Ransomware payment rates hit an all-time low in 2024 as law enforcement crackdowns, stronger defenses, and shifting policies make attacks riskier and less profitable.