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.
ease-{keyword} utilities set the animation-timing-function property on an element, controlling how an animation progresses through its keyframes over time. Choosing the right easing curve makes animations feel natural and purposeful rather than mechanical.
Reference
| Class | Properties |
|---|---|
ease-linear | animation-timing-function: linear; |
ease-in | animation-timing-function: cubic-bezier(0.4, 0, 1, 1); |
ease-out | animation-timing-function: cubic-bezier(0, 0, 0.2, 1); |
ease-in-out | animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1); |
These classes reuse the same names as Tailwind’s
transition-timing-function utilities, since both are sourced from the transitionTimingFunction theme key. Modifying transitionTimingFunction in your theme also modifies animationTimingFunction. This may change in a future release if it causes friction.Basic usage
Changing animation easing
Apply anease-{keyword} class alongside any animation class to control the acceleration curve of the animation.
Applying conditionally
Hover, focus, and other states
Use variant modifiers to apply a timing function only in a specific state. For example,hover:ease-in-out switches to a smooth ease curve on hover.
Breakpoints and media queries
Prefix any easing utility with a responsive breakpoint to apply it only at that screen size and above.Customization
Extending the theme
Add custom easing curves by extendinganimationTimingFunction in your tailwind.config.js file.