DEV Community

Discussion on: How to Build A React TS Tailwind Design System

Collapse
 
sheldonfrith profile image
Sheldon Frith

Very helpful, thank you! I was hoping I could find a way to use twin.macro with tsdx, but it looks like it can't be done right now. Rather than using the styled-components attrs like you are here, I've decided just to stick with tailwinds using classnames only. I don't feel all that boilerplate is worth it just for the option of including vanilla-css if I ever need to.

Collapse
 
hamatoyogi profile image
Yoav Ganbar

You're welcome Sheldon 🙂
I'm sure there is a way to get twin.macro working somehow, also, probably achievable with Twind.
I hear what you're saying about the attrs, however I do like my JSX more clean 🤷🏽‍♂️.