{"full_name":"dcastil/tailwind-merge","owner":"dcastil","name":"tailwind-merge","shard":"1","url":"https://github.com/dcastil/tailwind-merge","description":"Merge Tailwind CSS classes without style conflicts","homepage":"https://npmjs.com/package/tailwind-merge","topics":["tailwindcss","css","utility-classes"],"tag_pages":["css","tailwindcss"],"language":"TypeScript","license":"MIT","avatar":"https://avatars.githubusercontent.com/u/31006608?u=1420902162bb8b47fb080d8fc4f8aff3ced89d01&v=4","created_at":"2021-07-15T08:37:57Z","pushed_at":"2026-11-15T06:26:37Z","metrics":{"stars":5704,"forks":113,"watchers":11,"issues":233,"prs":402,"releases":67,"issues_open":24,"issues_closed":209,"prs_open":19,"prs_closed":36,"prs_merged":347,"discussions":111},"growth":{"day":{"stars":1,"forks":0,"base_day":"2026-11-15"}},"history":{"dates":["2026-11-10","2026-11-11","2026-11-12","2026-11-13","2026-11-14","2026-11-15","2026-11-16"],"stars":[5704,5702,5702,5702,5703,5703,5704],"forks":[113,113,113,113,113,113,113],"watchers":[null,11,11,11,11,11,11],"issues_open":[null,24,24,24,24,24,24],"prs_open":[null,20,20,20,20,20,19]},"boards":{},"same_owner":[],"issues":[{"number":594,"title":"Support for translate-* utilities in Tailwind CSS v4 (missing implicit transform behavior)","comments":5,"created_at":"2025-07-04T12:05:02Z"},{"number":553,"title":"composite class does not merge with individual class","comments":5,"created_at":"2025-03-24T22:54:42Z"},{"number":377,"title":"Custom spacing without \"full\" does not merge while \"auto\" does","comments":4,"created_at":"2024-02-09T14:15:25Z"},{"number":357,"title":"Get Tailwind Arbitrary Value","comments":4,"created_at":"2023-12-19T22:34:51Z"},{"number":668,"title":"pnpm flagging a trust downgrade in tailwind-merge","comments":3,"created_at":"2026-04-01T16:26:05Z"},{"number":630,"title":"Define `tailwindcss` version in `peerDependencies`","comments":3,"created_at":"2026-01-08T17:45:41Z"},{"number":573,"title":"leading classes are getting removed if applied in the middle","comments":3,"created_at":"2025-05-01T09:25:31Z"},{"number":385,"title":"Expose low-level API to use tailwind-merge logic for custom use cases","comments":3,"created_at":"2024-03-03T15:11:15Z"}],"discussions":[{"number":649,"title":"Is there any tailwind merge configuration that can merge both non prefixed class and prefixed class?","comments":1,"category":"Help","created_at":"2026-02-02T15:14:33Z"},{"number":628,"title":"Feature request: Add a “responsive reset” behavior to allow overriding all breakpoint variants of a class group","comments":2,"category":"Ideas","created_at":"2025-11-26T22:11:59Z"},{"number":627,"title":"Significant Performance Improvement with only a few lines of code","comments":1,"category":"Ideas","created_at":"2025-11-24T23:25:49Z"},{"number":600,"title":"On the topic of prefixes","comments":1,"category":"General","created_at":"2025-08-09T04:15:08Z"},{"number":587,"title":"cant resolve my custom prefixed ui:bg-black/6 with bg-black/3","comments":1,"category":"Help","created_at":"2025-06-06T10:01:31Z"},{"number":586,"title":"make twMerge take into account different then the orignal class order definition","comments":1,"category":"Help","created_at":"2025-06-01T18:24:47Z"},{"number":584,"title":"can't resolve family-name and font-weight when using arbitrary values, last one wins","comments":1,"category":"Help","created_at":"2025-05-30T20:49:59Z"},{"number":582,"title":"Custom gap classes","comments":1,"category":"Help","created_at":"2025-05-27T11:13:22Z"}],"latest_release":{"name":"tailwind-merge@3.7.0","tag":"tailwind-merge@3.7.0","published_at":"2026-09-12T20:05:05Z","body":"### New Features\r\n\r\n- Prepare some upcoming changes by @dcastil in https://github.com/dcastil/tailwind-merge/pull/713\r\n  - Theme getters returned by `fromTheme` now expose the theme key they read as a `themeKey` property, so tooling can identify the referenced theme scale without calling the getter.\r\n  - Release tags now include the package name, starting with `tailwind-merge@3.7.0`.\r\n\r\n### Bug Fixes\r\n\r\n- Fix arbitrary values using `color()` or `light-dark()` being classified as lengths instead of colors by @ddussi in https://github.com/dcastil/tailwind-merge/pull/712\r\n- Fix bare `bg-conic` not merging with other background image classes by @dcastil in https://github.com/dcastil/tailwind-merge/pull/708\r\n- Fix `columns-auto` not conflicting with other `columns` classes by @dcastil in https://github.com/dcastil/tailwind-merge/pull/707\r\n- Fix container sizes like `inline-2xl` not merging by @dcastil in https://github.com/dcastil/tailwind-merge/pull/706\r\n- Fix `max-h-none` missing in max-h class group by @mutewinter in https://github.com/dcastil/tailwind-merge/pull/704\r\n- Fix axis shorthands like `px` not overriding logical sides like `ps` by @dcastil in https://github.com/dcastil/tailwind-merge/pull/705\r\n- Fix `leading-none` being removed when the leading theme scale is overridden by @chatman-media in https://github.com/dcastil/tailwind-merge/pull/689\r\n- Fix deprecated `shadow-inner` being classified as shadow color instead of shadow by @dcastil in https://github.com/dcastil/tailwind-merge/pull/703\r\n\r\n### Documentation\r\n\r\n- Add Deno to install instructions by @bartlomieju in https://github.com/dcastil/tailwind-merge/pull/687\r\n- Add missing `text-shadow` theme key to configuration docs by @dcastil in https://github.com/dcastil/tailwind-merge/commit/3e6d2080a9905b5cc55f4b1515450544e761ded7\r\n\r\n### Other\r\n\r\n- Switch package manager from yarn to pnpm by @dcastil in https://github.com/dcastil/tailwind-merge/pull/680\r\n- Harden CI security by @dcastil in https://github.com/dcastil/tailwind-merge/pull/679\r\n\r\n**Full Changelog**: [`v3.6.0...v3.7.0`](https://github.com/dcastil/tailwind-merge/compare/v3.6.0...tailwind-merge@3.7.0)\r\n\r\nThanks to @brandonmcconnell, @manavm1990, @langy, @roboflow, @syntaxfm, @getsentry, @codecov, a private sponsor, @openclaw, @sourcegraph, @cesarvcanal, @CasperKristiansson, @jbisasky, @frontendmasters and more via @thnxdev for sponsoring tailwind-merge! ❤️","is_prerelease":false},"readme":true,"readme_zh":false,"news":[],"stale":false,"snapshot_at":"2026-11-16T09:23:14Z","history_start":"2026-09-06"}