Hacker News new | past | comments | ask | show | jobs | submit login

I disagree, tried it with a small custom component lib in our company. It was a huge overhead to add options for e.g. a button-component.

You can use Tailwind on top level and it is easy. But as soon as you have complex components with sub-elements, the styling gets really complicated.

It was easier to add component specific classes and define the css within the component. You call then the component with the classname.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: