babel-plugin-optimize-clsx
Babel plugin to optimize the use of clsx, classnames, and all libraries with a compatible API
Babel plugin to optimize the use of clsx, classnames, and all libraries with a compatible API
A light wrapper around clsx for deduping
[![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
className and styleName on steroids
A tiny utility for constructing React Native styles conditionally
An ESLint plugin to enforce usage of Tailwind CSS utility and component classes.
Utility for building BEM-syntax class names
Javascript objects for responsive utility classes.
A Higher Order Component (HOC) for adding classes to React Components and Dom Elements. Excellent for use with css utility libraries such as tailwind.
utility to construct html classes conditionally
A tiny utility for constructing `className` strings using Tailwind CSS class & pseudo-class modifier.
主要解决再vite和webpack中className省略clsx,可以像Vue一样去编写样式
Automatically add clsx for className
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!
Create aliases for class names composition
Minimal AlpineJS wrapper for twMerge and clsx. magic and directive for Alpine.js
Type declarations for filtering class name of clsx.
clsx + twMerge
Utility for generating CSS class names based on a predefined theme object.
This document is inspired by React, React-router, jQuery and styled-components, the aim is to have a merge of everything good in one documentation.