tw-animate-css

Frameworks & Libraries

Animation utilities for Tailwind CSS v4, as a CSS-first replacement for tailwindcss-animate.

Latest v1.4.0 · by WombosvideoWebsiteWombosvideo/tw-animate-css

Release activity

Release activity — 2 releases across 2 days in the last year. Each cell is one day; darker means more releases that day. Older weeks are hidden at this screen width.
MayJunJulAug
SundayNo releases on May 3, 2026No releases on May 10, 2026No releases on May 17, 2026No releases on May 24, 2026No releases on May 31, 2026No releases on Jun 7, 2026No releases on Jun 14, 2026No releases on Jun 21, 2026No releases on Jun 28, 2026No releases on Jul 5, 2026No releases on Jul 12, 2026No releases on Jul 19, 2026No releases on Jul 26, 2026No releases on Aug 2, 2026No releases on Aug 9, 2026No releases on Aug 16, 2026
MondayNo releases on May 4, 2026No releases on May 11, 2026No releases on May 18, 2026No releases on May 25, 2026No releases on Jun 1, 2026No releases on Jun 8, 2026No releases on Jun 15, 2026No releases on Jun 22, 2026No releases on Jun 29, 2026No releases on Jul 6, 2026No releases on Jul 13, 2026No releases on Jul 20, 2026No releases on Jul 27, 2026No releases on Aug 3, 2026No releases on Aug 10, 2026No releases on Aug 17, 2026
TuesdayNo releases on May 5, 2026No releases on May 12, 2026No releases on May 19, 2026No releases on May 26, 2026No releases on Jun 2, 2026No releases on Jun 9, 2026No releases on Jun 16, 2026No releases on Jun 23, 2026No releases on Jun 30, 2026No releases on Jul 7, 2026No releases on Jul 14, 2026No releases on Jul 21, 2026No releases on Jul 28, 2026No releases on Aug 4, 2026No releases on Aug 11, 2026No releases on Aug 18, 2026
WednesdayNo releases on May 6, 2026No releases on May 13, 2026No releases on May 20, 2026No releases on May 27, 2026No releases on Jun 3, 2026No releases on Jun 10, 2026No releases on Jun 17, 2026No releases on Jun 24, 2026No releases on Jul 1, 2026No releases on Jul 8, 2026No releases on Jul 15, 2026No releases on Jul 22, 2026No releases on Jul 29, 2026No releases on Aug 5, 2026No releases on Aug 12, 2026No releases on Aug 19, 2026
ThursdayNo releases on May 7, 2026No releases on May 14, 2026No releases on May 21, 2026No releases on May 28, 2026No releases on Jun 4, 2026No releases on Jun 11, 2026No releases on Jun 18, 2026No releases on Jun 25, 2026No releases on Jul 2, 2026No releases on Jul 9, 2026No releases on Jul 16, 2026No releases on Jul 23, 2026No releases on Jul 30, 2026No releases on Aug 6, 2026No releases on Aug 13, 2026
FridayNo releases on May 8, 2026No releases on May 15, 2026No releases on May 22, 2026No releases on May 29, 2026No releases on Jun 5, 2026No releases on Jun 12, 2026No releases on Jun 19, 2026No releases on Jun 26, 2026No releases on Jul 3, 2026No releases on Jul 10, 2026No releases on Jul 17, 2026No releases on Jul 24, 2026No releases on Jul 31, 2026No releases on Aug 7, 2026No releases on Aug 14, 2026
SaturdayNo releases on May 9, 2026No releases on May 16, 2026No releases on May 23, 2026No releases on May 30, 2026No releases on Jun 6, 2026No releases on Jun 13, 2026No releases on Jun 20, 2026No releases on Jun 27, 2026No releases on Jul 4, 2026No releases on Jul 11, 2026No releases on Jul 18, 2026No releases on Jul 25, 2026No releases on Aug 1, 2026No releases on Aug 8, 2026No releases on Aug 15, 2026

2 releases in the last year

Changelog

v1.4.0

Latest
Changelog

902e37a019ffd165ba078e0b3c02634526c54bf0: fix: remove support for prefix, add new export for prefixed version. Closes #58. fab2a5bf817605be1976e159976718a83489fc1c: chore: bump version to 1.4.0 and update dependencies c20dc32e2b532a8e74546879b4ce7d9ce89ba710: fix(build): make transform.ts accept two arguments

⚠️ BREAKING CHANGE ⚠️

Support for Tailwind CSS's prefix option was moved to tw-animate-css/prefix because it was breaking the --spacing function. Users requiring prefixes should replace their import:

- import "tw-animate-css";
+ import "tw-animate-css/prefix";

I do not plan to introduce breaking changes like this to non-major releases in the future. But because more people use spacing rather than prefixes, reverting the previous version's (obviously breaking) change seems reasonable.

View originalPermalink
How v1.4.0 went

v1.3.8

Changelog
  • b5ff23a: fix: add support for global CSS variable prefix. Closes #48
  • 03e5f12: feat: add support for ng-primitives height variables #56 (thanks @immohammadjaved)
  • b076cfb: docs: fix various issues in accordion and collapsible docs
  • 9485e33: chore: bump version to 1.3.8 and update dependencies
⚠️ BREAKING CHANGE ⚠️

Adding support for prefixes broke custom spacing. It is recommended that you skip this version if you do not use Tailwind CSS's prefix option, and use v1.4.0 instead. If you are actually using prefixes, you can use a special version supporting prefixes:

- import "tw-animate-css"; /* Version with spacing support */
+ import "tw-animate-css/prefix"; /* Version with prefix support */

I do not plan to fix the incompatibility between the spacing and prefix versions due to time constraints. Feel free to investigate and open a pull request if you manage to fix it.

View originalPermalink
How v1.3.8 went

v1.3.7

Changelog
  • 80dbfcc: feat: add utilities for blur transitions #54 (thanks @coffeeispower)
  • dc294f9: docs: add upcoming changes warning
  • c640bb8: chore: update dependencies and package manager version
  • 9e63e34: chore: bump version to 1.3.7
View originalPermalink
How v1.3.7 went

v1.3.6

Changelog
  • 58f3396: fix: allow changing animation parameters for ready-to-use animations
  • 8313476: chore: update dependencies nd package manager version
  • f81346c: chore: bump version to 1.3.6
Issues fixed
  • #47: feat: allow developers to change the transition timing function for --animate-accordion/collapsible-* (thanks for your help, @mikeploythai)
View originalPermalink
How v1.3.6 went

v1.3.5

Changelog
  • b8cc09c: fix: update slide translate calculations to use correct sign for ratio values
  • 69fbfcd: chore: bump version to 1.3.5 and update dependencies
Issues fixed
  • #44 incorrect calculation in slide-in-from-left when using a ratio (thanks for reporting, @alec-liminary)
View originalPermalink
How v1.3.5 went

v1.3.4

Changelog
  • 5012a6b: feat: add logical slide translate utilities (#39)
  • 041f32f: fix: use default fill-mode none instead of forwards
  • 7f6ad32: chore: bump version to 1.3.4 and update package manager version
Issues fixed
  • #42: bug: incorrect default value for fill-mode breaking some animations (thanks for your help, @ollema)
New features

This release adds logical start, end slide utilities. Compared to left and right, these take the text direction into consideration, allowing you remove some redundancy:

- ltr:slide-in-from-left-4 ltr:slide-out-to-left-4 rtl:slide-in-from-right-4 rtl:slide-out-to-right-4
+ slide-in-from-start-4 slide-out-to-start-4
View originalPermalink
How v1.3.4 went

v1.3.3

[!CAUTION] Bug #42 was introduced in this version, so you might want to skip this version.

Changelog
  • ccfe1ec: feat: add support for Kobalte UI variables to accordion and collapsible animations #37
  • 919999e: fix: add CSS variables for animation utilities #40
  • ffce555: chore: bump version to 1.3.3
Issues fixed
  • #34: Setting fill-mode-* has no effect
  • #36 (partially): Support Arbitrary Custom Properties for Accordion Animations
View originalPermalink
How v1.3.3 went

v1.3.2

Changelog
  • 493b3aa: fix: duration not applied due to property initial value
  • e7b4aac: chore: bump version to 1.3.2
View originalPermalink
How v1.3.2 went

v1.3.1

Changelog
  • e59dfed: fix: add @‌property declarations for animation variables to enhance inheritance control #33 (thanks @jinyongp)
  • 28156a2: fix: move @‌property declarations to the :root level
  • 6c0f52e: chore: bump version to 1.3.1 and update dependencies
Issues fixed
  • #32: Animation on parent element unexpectedly inherits to all child elements
View originalPermalink
How v1.3.1 went

v1.3.0

Changelog
  • 6dba4b0: fix: align syntax with Tailwind CSS syntax
  • c82b41c: docs: add tree-shaking note
  • 33b4e50: feat: add animation-duration-* utility
  • a6fcd13: chore: bump version to 1.3.0 and update dependencies
New features

I've decided to add a animation-duration-* utility which should be used to define animation durations in the future. For now, duration-* is still supported to remain compatible with tailwindcss-animate.

This utility was added so you can define different durations for transitions and animations. Probably not something many people have a use case for, but I didn't want to define an own duration-* utility to actually set animation-duration. Please open an issue if you prefer to keep using duration-* instead of animation-duration-*.

Breaking Change

zoom-in-* and zoom-out-* utilities now require ratios to be specified differently:

- zoom-in-[1/2]
+ zoom-in-1/2

I don't expect this to affect many people, which is why this is not a major release. If you are affected by this, let me know.

View originalPermalink
How v1.3.0 went
View all

Discussion

If you publish tw-animate-css, you can claim this product by proving you administer its repository.