classNames

utility function combines multiple class names using the classnames library and merges Tailwind CSS class conflicts using the tailwind-merge utility

Example

Params
paramDescriptionTypeDefault
nameA variable-length list of class names or conditions that resolve to class names.cn.ArgumentArray-
Return
returnDescriptionTypeDefault
classNamesClassNamesstring-