Can I use NextUI and Tailwinds in the same project?

333 Views Asked by At

I have a preexisting project with Tailwinds, and I would like to add Next UI to it to be able to hook into their components, but also maintain my old themes for Tailwinds without having to redo everything I've done so far with Next UI styling. Is this possible?

edit: For context, I've followed the installation guide and am running into some errors where applying styles to a Next UI component does not work.

ex: <Button color="primary">Button Text</Button> will not display any color and instead shows a transparent button.

Trying to deduce if this is an issue with my configuration, or what. I'm inclined to believe that these can coexist due to lines in the documentation such as "common colors is disabled by default to avoid collisions with Tailwind" but I'm not sure.

0

There are 0 best solutions below