Logo

Blog

Combine Tailwind Classnames without Conflict

1 min read

One of the drawback of adopting Tailwind is spotting invalid classnames and combining styles according props. Cn function propose by ByteGrad help merging classnames and accept arguments.

https://www.youtube.com/watch?v=re2JFITR7TI

Related articles