Merge Tailwind CSS classes without style conflicts. Latest version: 2.6.0, last published: a month ago. Start using tailwind-merge in your project by running `npm i tailwind-merge`. There are 5030 other projects in the npm registry using tailwind-merge.
npm install super-tailwind-merge //or yarn add super-tailwind-merge Usage ES6 Import importsuperTwMergefrom'super-tailwind-merge';constexample1=superTwMerge('text-red-500',{'font-bold':true},'bg-blue-200');console.log(example1);// Outputs: 'text-red-500 font-bold bg-blue-200'constexamp...
npmjs.com/package/tailwind-merge Topics css utility-classes tailwindcss Resources Readme License MIT license Code of conduct Code of conduct Security policy Security policy Activity Stars 4.4k stars Watchers 7 watching Forks 58 forks Report repository Releases 50 v2.5.2 Latest Aug ...
Check bundle size on Bundlephobia Get started What is it for When and how to use it Features Limitations Configuration Recipes API reference Writing plugins Versioning Contributing Similar packages https://yarn.pm/tailwind-merge copy dcastil/tailwind-mergetailwind-merge ...
The tailwind-merge package is hosted on npm under the name tailwind-merge. There are lots of package managers for installing packages hosted on npm. Here are installation instructions for the most popular ones: npm, yarn, pnpm and bun. npm add tailwind-merge yarn add tailwind-merge pnpm add...
npm i tailwind-extended-shadows-merge Configure import{extendTailwindMerge}from"tailwind-merge";import{withExtendedShadows}from"tailwind-extended-shadows-merge";exportconsttwMerge=extendTailwindMerge(withExtendedShadows); npm itailwind-extended-shadows-merge ...
Merge Tailwind CSS classes without style conflicts. Latest version: 2.1.0-v1, last published: a year ago. Start using @vertisanpro/tailwind-merge in your project by running `npm i @vertisanpro/tailwind-merge`. There is 1 other project in the npm registry
You can install the latest dev release with npm install tailwind-merge@dev. A changelog is documented in GitHub Releases.Next: ContributingPrevious: Writing pluginsBack to overview
npm install super-tailwind-merge //or yarn add super-tailwind-mergeUsageES6 Importimport superTwMerge from 'super-tailwind-merge'; const example1 = superTwMerge('text-red-500', { 'font-bold': true }, 'bg-blue-200'); console.log(example1); // Outputs: 'text-red-500 font-bold bg-...
We read every piece of feedback, and take your input very seriously. Include my email address so I can be contacted Cancel Submit feedback Saved searches Use saved searches to filter your results more quickly Cancel Create saved search Sign in Sign up Reseting focus {...