tailwind-merge
3.7.1 · 19 Nov 2026MIT118.2M / weekRepositorynpmAtom feed
1.14.0 is the newest release of 1.x.
In short
1 new
Release note
New Features
Add support for Tailwind CSS v3.3 except line-height shorthand
The line-height shorthand in font-size utilities (
text-lg/7) introduced in Tailwind CSS v3.3 is not yet supported in tailwind-merge because that feature is a bit more involved. I'll add support for it in a future release. More info in #211.Added new validator
isPercentwhich is needed internally for the default scale of color stop positions.New theme key
gradientColorStopPositionssupported in tailwind-merge.New logical properties like
ps-0(padding-inline-start: 0px;) are de-duplicated away when using the matching property for all sides afterwards like in this casep-0, but not when using single axis sides likepx-0becausepadding-inline-startcan also be the top or bottom padding depending on writing mode.Basically
twMerge('ps-0 p-0') === 'p-0' && twMerge('ps-0 px-0') === 'ps-0 px-0'.If you want to use logical properties and know which writing modes your app is limited to, add the right conflicts yourself to your tailwind-merge config.
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.