The easiest way to add stunning animations to your Tailwind CSS projects.
Zero configuration, pure performance.
npm install tw-animations npm install tw-animations-plugin pnpm add tw-animations pnpm add tw-animations-plugin yarn add tw-animations yarn add tw-animations-plugin bun add tw-animations bun add tw-animations-plugin @import 'tailwindcss';
@import 'tw-animations'; // tailwind.config.js
module.exports = {
plugins: [
require('tw-animations-plugin'),
],
}; Explore our comprehensive library of ready-to-use animations
animate-flash animate-head-shake animate-heartbeat animate-jelly animate-rubber-band animate-shake-x animate-shake-y animate-swing animate-tada animate-wiggle animate-wobble animate-float
Use timeline-view and animate-range to tie animations to scroll. Each row below shows the code and the live result — scroll to
trigger them.
Scales in as the element enters the viewport.
timeline-view animate-zoom-in animate-range-cover
Control when the animation runs: gradual, moderate, brisk, or rapid.
animate-range-gradual
animate-range-moderate
animate-range-brisk
animate-range-rapid
Enters from the right with a custom range.
timeline-view animate-slide-in-end animate-range-[entry_5%_contain_20%]
Enters from the left.
timeline-view animate-slide-in-start animate-range-[entry_5%_contain_20%]
Opacity + blur for a soft reveal.
timeline-view animate-blurred-fade-in animate-range-[entry_10%_contain_30%]
Tie animations to scroll progress or element visibility. Each card: code on the left, live demo on the right.
Progress bar driven by vertical scroll.
timeline-scroll animate-expand-horizontally
Bar tied to horizontal scroll.
timeline-scroll-inline animate-expand-horizontally
Animate on enter vs on leave.
animate-range-entry
animate-range-exit
Different ranges for a cascade.
animate-range-[entry_0%_cover_35%] ... [entry_30%_cover_65%]
Rotate or flip as the element crosses the viewport.
timeline-view animate-rotate-360 animate-range-cover
All timeline and range classes at a glance.
timeline-scroll
timeline-scroll-inline
timeline-scroll-block
timeline-scroll-x
timeline-scroll-y
timeline-view
timeline-view-inline
timeline-view-block
timeline-view-x
timeline-view-y
animate-range-cover
animate-range-contain
animate-range-entry
animate-range-exit
animate-range-gradual
animate-range-moderate
animate-range-brisk
animate-range-rapid
Join developers creating beautiful animations with Tailwind CSS. Try the configurator or explore the repo.