Search results

93 packages found

Babel plugin to optimize the use of clsx, classnames, and all libraries with a compatible API

published version 2.6.2, 4 years ago14 dependents licensed under $MIT
99,289

A plugin that automatically creates a type file when using the css module type-safely.

published version 1.3.31, 9 days ago10 dependents licensed under $MIT
59,975

The fastest and tiniest utility for conditionally joining classNames.

published version 2.2.2, 25 days ago44 dependents licensed under $MIT
32,870

An ESLint plugin for clsx/classnames

published version 0.0.10, 25 days ago3 dependents licensed under $MIT
28,573

[![Bundle Size](https://img.shields.io/bundlephobia/minzip/onno?style=flat-square&logo=npm&logoColor=FFF&label=size&color=4C8)][onno-bundlephobia] [![Code Coverage](https://img.shields.io/codecov/c/gh/wagerfield/onno?style=flat-square&logo=codecov&logoCol

published version 2.2.0, 2 years ago4 dependents licensed under $MIT
12,434

Use the classnames library more type-safely.

published version 1.0.9, 2 years ago1 dependents licensed under $MIT
3,924

clsx for Tailwind

published version 1.0.0, 9 months ago0 dependents licensed under $AGPL-3.0
2,696

Utility function to use both `clsx` and `tailwind-merge` in one go. Where class merging becomes a seamless dance, leaving style conflicts in the dust!

published version 2.0.0, 2 years ago3 dependents licensed under $MIT
2,029

A tiny utility for constructing React Native styles conditionally

published version 0.0.3, 5 years ago0 dependents licensed under $MIT
661

A lightweight utility function to merge and conditionally join class names.

published version 0.1.0, a month ago0 dependents licensed under $MIT
373

Wrapper to combine tailwind classes

published version 1.0.2, 2 years ago0 dependents licensed under $MIT
365

A combination of Tailwind-Merge and CLSX

published version 0.1.0, 3 years ago0 dependents licensed under $MIT
337

Utility functions for React components.

published version 0.0.2-beta.18, a month ago1 dependents licensed under $MIT
482

clsx + twMerge

published version 2.0.0, 4 months ago0 dependents licensed under $MIT
518

`@meltdownjs/cn` is a utility function for combining multiple CSS class names into a single string while also resolving any conflicting classes.

published version 1.2.1, 21 days ago0 dependents
397

Rewrite clsx in TypeScript.

published version 2.4.1, a year ago0 dependents licensed under $MIT
308

tailwindcss clsx

published version 1.0.0, 2 months ago1 dependents licensed under $MIT
376

Merge the list of tailwind classes

published version 1.2.6, 12 days ago0 dependents licensed under $MIT
243

Dynamically classnames in React

published version 1.1.0, 10 months ago0 dependents licensed under $MIT
194

JSX runtime for applying `clsx()` automatically

published version 1.0.2, 2 years ago1 dependents licensed under $MIT
161