Back

Combine Tailwind Classnames without Conflict

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

Last Updated
February 4, 2024

Related posts

    Custom Fonts with Tailwind CSS in NextJS

    Next has released @next/font solution to integrate with google fonts as well as local fonts. Check out https://nextjs.org/docs/pages/building-your-application/optimizing/fonts for the latest implement