DieselDepot-APP/node_modules/tailwind-merge
SJCoetz def597c157 chore: add generated build artifacts and node module type files
add all Next.js build outputs and third-party dependency type declaration files
2026-07-20 01:18:42 +02:00
..
dist chore: add generated build artifacts and node module type files 2026-07-20 01:18:42 +02:00
src chore: add generated build artifacts and node module type files 2026-07-20 01:18:42 +02:00
LICENSE.md chore: add generated build artifacts and node module type files 2026-07-20 01:18:42 +02:00
package.json chore: add generated build artifacts and node module type files 2026-07-20 01:18:42 +02:00
README.md chore: add generated build artifacts and node module type files 2026-07-20 01:18:42 +02:00

tailwind-merge

Utility function to efficiently merge Tailwind CSS classes in JS without style conflicts.

import { twMerge } from 'tailwind-merge'

twMerge('px-2 py-1 bg-red hover:bg-dark-red', 'p-3 bg-[#B91C1C]')
// → 'hover:bg-dark-red p-3 bg-[#B91C1C]'

Get started