cn
API reference for @udecode/cn.
@udecode/cn
contains utility functions for React & Tailwind.
cn
Conditionally add Tailwind CSS classes without conflicts.
withCn
Set default className
to a component.
withProps
Set default props to a component.
withVariants
Set default className
to a component using variants from class-variance-authority
.