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.
delay-{amount} utilities set the animation-delay property on an element, controlling how long the browser waits before starting the animation. This is especially useful for staggering a sequence of elements so they animate in one after another rather than all at once.
Reference
| Class | Properties |
|---|---|
delay-75 | animation-delay: 75ms; |
delay-100 | animation-delay: 100ms; |
delay-150 | animation-delay: 150ms; |
delay-200 | animation-delay: 200ms; |
delay-300 | animation-delay: 300ms; |
delay-500 | animation-delay: 500ms; |
delay-700 | animation-delay: 700ms; |
delay-1000 | animation-delay: 1000ms; |
These classes reuse the same names as Tailwind’s
transition-delay utilities, since both are sourced from the transitionDelay theme key. This may change in a future release if it causes friction.Basic usage
Staggering animations
Apply increasingdelay-{amount} values to sibling elements to create a staggered animation sequence.
Applying conditionally
Hover, focus, and other states
Use variant modifiers to apply a delay only in a specific state. For example,hover:delay-0 removes the delay on hover.
Breakpoints and media queries
Prefix any delay utility with a responsive breakpoint to apply it only at that screen size and above.Customization
Extending the theme
Add custom delay values by extendinganimationDelay in your tailwind.config.js file.