ui
ui copied to clipboard
[discussion] radix-ui added tailwindcss for all primitive examples, now what?
radix-ui announced about a month ago they had added TailwindCSS support for all their primitives' examples on Twitter. Checked it out, and yep it's true and works well.
Wondering how this stacks up against just using this project. Any advice? I know picking "one over the other" isn't really encompassing in this case, since this repo is built around radix-ui's primitives...
I see this project more like an extension on radix-ui with the examples from the docs you can easily create re-usable components with variants using CVA and tailwind-merge.
This way when you use your pre-defined components you have a clean usage in your views and you'll still be able to extend/override it with tailwind.
What @florisbosch said.
- The Radix UI examples are docs for how to use Tailwind with the components.
- This repo is an implementation of that.
@mkandan I'm going to close this issue. Feel free to reopen if you have any other question. Thank you.