
Product
Socket Threat Intel Now Shows Which Malware Campaigns Were Blocked or Detected
Socket Threat Intel now shows which malware campaigns were blocked or detected in your organization, with links to scans and Firewall events.
tailwindcss-animate-catalog
Advanced tools
A configurable, namespaced Animate.css integration for Tailwind CSS
A configurable Animate.css integration for Tailwind CSS 3. It reads the installed Animate.css catalog at build time, emits only the animations you select, and namespaces generated keyframes to prevent collisions.
Global duration, delay, and iterationCount values are passed to @jasperquinn/postcss-motion-helpers, which generates the corresponding Tailwind base custom properties.
npm install tailwindcss-animate-catalog animate.css
// tailwind.config.js
module.exports = {
content: ['./src/**/*.{html,js,jsx,ts,tsx,vue,svelte}'],
plugins: [
require('tailwindcss-animate-catalog')({
animations: ['bounce', 'fadeIn', 'fadeOut', 'slideInUp']
})
]
};
Apply the base class together with an animation class:
<div class="keyframe keyframe-fade-in">Content</div>
Animation names are converted to kebab case in generated class names. For example, fadeInDownBig becomes keyframe-fade-in-down-big.
require('tailwindcss-animate-catalog')({
prefix: 'motion',
animations: ['bounce', 'fadeIn'],
exclude: ['bounce'],
aliases: {
enter: 'fadeIn'
},
duration: '900ms',
delay: '0s',
iterationCount: '1',
namespaceKeyframes: true,
respectReducedMotion: true,
modifiers: true,
durations: {
quick: '300ms',
deliberate: '1400ms'
},
delays: {
short: '150ms',
long: '800ms'
},
repeats: {
twice: '2',
forever: 'infinite'
}
})
| Option | Default | Purpose |
|---|---|---|
prefix | keyframe | Prefix for classes and generated keyframes |
animations | '*' | Animate.css names to include; '*' includes the full catalog |
exclude | [] | Animation names to omit |
aliases | {} | Public class names mapped to Animate.css animation names |
duration | 1s | Default animation duration |
delay | 0s | Default animation delay |
iterationCount | 1 | Default iteration count |
namespaceKeyframes | true | Prefix keyframe identifiers to prevent collisions |
respectReducedMotion | true | Minimize animation when the user requests reduced motion |
modifiers | true | Generate timing, repeat, pause, and run utilities |
durations | Built-in map | Duration modifier tokens |
delays | Built-in map | Delay modifier tokens |
repeats | Built-in map | Iteration modifier tokens |
The deprecated classes option remains an alias for animations during migration.
With the default prefix, the plugin generates:
<div class="keyframe keyframe-bounce keyframe-duration-fast keyframe-delay-1s keyframe-repeat-2"></div>
keyframe-duration-{token} sets the duration variable.keyframe-delay-{token} sets the delay variable.keyframe-repeat-{token} sets the iteration-count variable.keyframe-paused and keyframe-running control playback.Tailwind variants work normally:
<div class="keyframe keyframe-fade-in hover:keyframe-paused md:keyframe-duration-slow"></div>
Aliases provide stable semantic names without copying keyframes:
require('tailwindcss-animate-catalog')({
animations: [],
aliases: {
notificationEnter: 'fadeInDown',
notificationExit: 'fadeOutUp'
}
})
<aside class="keyframe keyframe-notification-enter"></aside>
The package exposes the animation names found in the installed Animate.css version:
const animateCatalog = require('tailwindcss-animate-catalog');
console.log(animateCatalog.catalog());
index.js Tailwind plugin entry point
lib/
shared/ Package constants, error helper, case conversion
options/ Defaults, validation, and option normalization
catalog/ Animate.css loading, parsing, and selection
styles/ Base variables, utilities, keyframes, reduced motion
test/ node:test suites
animatecss to keyframe.animations replaces classes; classes remains a compatibility alias.@jasperquinn/postcss-motion-helpers now processes global timing options and is installed automatically.MIT
FAQs
A configurable, namespaced Animate.css integration for Tailwind CSS
The npm package tailwindcss-animate-catalog receives a total of 0 weekly downloads. As such, tailwindcss-animate-catalog popularity was classified as not popular.
We found that tailwindcss-animate-catalog demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.

Product
Socket Threat Intel now shows which malware campaigns were blocked or detected in your organization, with links to scans and Firewall events.

Security News
Fixes for eMudhra and Brotli are out. Getting them everywhere they’re needed means tracking down bundled libraries, runtimes, and certificate stores.

Threat Research
/Security News
Socket uncovered secret-stealing workflows that ran in LiteLLM’s GitHub repository 11 days before the supply chain attack on PyPI and Docker.