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
With this release tailwind-merge supports all features introduced in Tailwind CSS v3.3.
New Features
Add support for postfix modifier
This adds support for
line-heightmodifiers infont-sizeutilities liketext-lg/7and more potential postfix modifiers in the future (learn more).All classes are checked for postfix modifiers since there will be more in the future and they'll be configurable with plugins.
tailwind-merge can't know from the class syntax alone whether something is a modifier or not. E.g. there is
w-1/2which doesn't contain a modifier. So tailwind-merge always checks whether class without potential modifier exists and if it doesn't it checks for full class. This behavior might get reversed in the next major version as a breaking change (learn more).Added
conflictingClassGroupModifiersobject to tailwind-merge config (learn more).
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.