When building components for your app, you'll often lean towards variants which make them much more modular and easier to maintain.
In this tutorial, I'll show you how you can use my brand new Tailwind CSS variant generator tool to do exactly that.
Tool: https://charliejoseph.com/tools/tailw...
Timestamps:
0:19: Installing Tailwind CSS
1:24: Creating the Component
2:53: Defining our Variants
3:03: Using the Tool
6:49: Testing our Variants
My Links:
Website: https://charliejoseph.com
Twitter: / heychazza