2.3.0 • Published 13 days ago

tailwind-merge v2.3.0

Weekly downloads
-
License
MIT
Repository
github
Last release
13 days ago

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

gaboponentsedit-blog-from-site@beskar-labs/gravity@codewithhong/utils@mantyke/styles@dafunda-ui-test/react-classname-utils@dafunda-ui-testing/react-classname-utils@dafunda-ui-alpha/react-classname-utilsakihito-ui-lib@curecall/curecall-ui@douglasneuroinformatics/react-componentscreate-thoo-appcreate-thoo-app-authdafunda-ui-react@sliit-wif/tailwind-plugin-animated-borders@trycreo/next-starterblock-kitty-uicodingpancakes@c6r/reacttwclsxtw-react-comp-xxbhayangkara-ui2barely-human-library@thisisclicktest/ktnext-microsite-reactcurecall-uijetpackai-embedreact-tw-compmooglekittailwind-datepicker-react-v1.4.2usertip-testing-component-librarysharpcodes-react-form-componentsfanbase-widgetui-lib-dipairtu-components-2sxtd-ui-theme@trycreo/startercomma-ui@yamcodes/ui@everything-registry/sub-chunk-2873@mznrasil/nextjs-boilerplatemyspaceflowbite-test-public-npmui-cmpprisha-shared-uixhttp-uihackhubb-components@appist/appist@anstack/create-anstack@svelte-kit/svelte-toastprogress-report-generator-v2@next-devtools/clientbot-test-purpose2@kidsontheyard/kidsontheyard-ui-react-corenextra-docs-demostplymouth-uiddreams-design-system@lil-lab-example/ui@leonardodipace/uiamigo-design-systemdinglo-io1dinglo-io2dinglo-io3dinglo-io4dinglo-io5dinglo-io6dinglo-io7@lezztable/reactpivot-uirussiaui@million23/nextjsgerard-shadcn-testfusillo@konkat/konkat-ui@bitbybit-labs/bbb-componentsnotion-wysiwygsrmg-ui-component-library-testvdiarybook-captchausum-test-featuresmart-blog-generator@oc-wh/react-dialogmaterial-vue-kitskeleton-ui-1wisedelivery-react-component-libraryhealth-care-admin-web-vitebqcsui-componentsbqcsuie-componentstest-reactt-uinova-textsupanovelesz-ui@hoppla/hoppla-uiprojectkityotp-fieldpgforsta-design-systempkm-componentsaos-react-tailwindsmart-play@react-component-library/react-datepickertw-file-browserdev-react-button
2.3.0

13 days ago

2.2.2

2 months ago

2.2.1

3 months ago

2.2.0

4 months ago

2.1.0

5 months ago

2.0.0

6 months ago

1.14.0

10 months ago

1.13.2

11 months ago

1.13.1

11 months ago

1.13.0

11 months ago

1.9.1

1 year ago

1.9.0

1 year ago

1.10.0

1 year ago

1.12.0

1 year ago

1.11.0

1 year ago

1.8.1

1 year ago

1.8.0

1 year ago

1.6.2

2 years ago

1.7.0

2 years ago

1.6.1

2 years ago

1.6.0

2 years ago

1.4.0

2 years ago

1.5.1

2 years ago

1.5.0

2 years ago

1.3.0

2 years ago

1.2.1

2 years ago

1.2.0

2 years ago

1.1.1

2 years ago

1.1.0

2 years ago

1.0.0

2 years ago

0.9.0

2 years ago

0.8.2

2 years ago

0.8.1

3 years ago

0.8.0

3 years ago

0.7.1

3 years ago

0.7.0

3 years ago

0.6.0

3 years ago

0.5.2

3 years ago

0.5.1

3 years ago

0.5.0

3 years ago

0.4.0

3 years ago

0.3.0

3 years ago

0.2.0

3 years ago

0.1.2

3 years ago

0.1.1

3 years ago

0.1.0

3 years ago