tailwindcss-animate extends Tailwind CSS with a set of animation utilities that make it simple to add polished enter and exit transitions to any element. CombineDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/jamiebuilds/tailwindcss-animate/llms.txt
Use this file to discover all available pages before exploring further.
animate-in or animate-out with fade, zoom, spin, and slide modifiers to build expressive motion — all without leaving your HTML.
Installation
Install the plugin and add it to your Tailwind config in minutes
Enter animations
Fade, zoom, spin, and slide elements into view with animate-in
Exit animations
Smoothly dismiss elements with fade-out, zoom-out, and slide-out utilities
Animation utilities
Control timing, delay, direction, fill mode, and more
Quick example
Combine multiple utilities to create rich animations in a single class string:How it works
The plugin registers two core keyframe animations —enter and exit — driven by CSS custom properties. Utilities like fade-in, zoom-in, and slide-in-from-top set the appropriate CSS variable, which the keyframe picks up automatically. This design lets you stack multiple effects without conflicts.
Add utilities to your HTML
Use
animate-in or animate-out together with effect modifiers like fade-in, zoom-in, or slide-in-from-top.tailwindcss-animate requires Tailwind CSS v3.0 or later as a peer dependency.