by joshmanders · 6y ago · 0 comments
If you think that, then you don't understand why we use and choose Tailwind over the other "quality" OSS UI components.
If you name three, I can tell you exactly why Tailwind UI is superior to them.
Tailwind CSS/UI components? Just edit your config, or you're in complete control, so uhhh... just remove `bg-blue-700` and replace it with `bg-green-500` if you want it to be green instead of blue.
You can have a theme file with lot of options passed to your provider and then in your jsx, simply use variant.
<Button variant="green" text="there?"/>
or for css properties, you can do <Button sx={{ background: `primary` }} text="hey?" />
Plus this looks to be exclusive to React. Tailwind makes no decisions about what you use your styles with, just generates the classes for you. You can use it with vanilla html, react, angular, vue, svelte, etc.