TheDocumentation 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.
tailwindcss-animate plugin registers a set of new theme keys alongside Tailwind’s built-in ones. You can extend or replace these keys in your tailwind.config.js file exactly as you would any other Tailwind theme value — using theme.extend to add to the defaults or the top-level theme key to replace them entirely.
Theme keys
The plugin adds the following theme keys, each of which maps to a group of utility classes:animationDelay
animationDelay
Controls the
animation-delay property via delay-{n} utilities. Defaults to the same values as Tailwind’s transitionDelay scale (e.g. 75ms, 100ms, 150ms, 200ms, 300ms, 500ms, 700ms, 1000ms).animationDuration
animationDuration
Controls the
animation-duration property via duration-{n} utilities. Defaults to Tailwind’s transitionDuration values plus an extra 0 entry (0ms).animationTimingFunction
animationTimingFunction
Controls the
animation-timing-function property via ease-{keyword} utilities. Defaults to Tailwind’s transitionTimingFunction values: ease-linear, ease-in, ease-out, and ease-in-out.animationFillMode
animationFillMode
Controls the
animation-fill-mode property via fill-mode-{keyword} utilities. Provides four fixed values: none, forwards, backwards, both.animationDirection
animationDirection
Controls the
animation-direction property via direction-{keyword} utilities. Provides four fixed values: normal, reverse, alternate, alternate-reverse.animationOpacity
animationOpacity
Controls the starting/ending opacity of enter and exit animations via
fade-in-{n} and fade-out-{n} utilities. Defaults to Tailwind’s full opacity scale with an additional DEFAULT value of 0.animationTranslate
animationTranslate
Controls the starting/ending translation of slide animations via
slide-in-from-{direction}-{n} and slide-out-to-{direction}-{n} utilities. Defaults to Tailwind’s full translate scale with an additional DEFAULT value of 100%.animationScale
animationScale
Controls the starting/ending scale of zoom animations via
zoom-in-{n} and zoom-out-{n} utilities. Defaults to Tailwind’s full scale scale with an additional DEFAULT value of 0.animationRotate
animationRotate
Controls the starting/ending rotation of spin animations via
spin-in-{n} and spin-out-{n} utilities. Defaults to Tailwind’s full rotate scale with an additional DEFAULT value of 30deg.animationRepeat
animationRepeat
Controls the
animation-iteration-count property via repeat-{n} utilities. Provides three fixed values: 0, 1, infinite.Extending the defaults
Usetheme.extend to add new values on top of the plugin’s defaults. None of the existing utilities are affected — only new ones are generated.
Overriding defaults
To replace a theme key’s defaults entirely, define the key directly undertheme instead of theme.extend. The plugin’s built-in values will be discarded, and only the values you provide will generate utilities.
fill-mode-forwards and fill-mode-both will be generated. The default fill-mode-none and fill-mode-backwards utilities will no longer exist.