Is there something like tailwind ui / headless ui for react native?
I'm a big fan of tailwindcss, but in order to speed up my process even more, I like to use something like tailwind ui with premade components, I can just copy + paste.
Does something like that exist for react native, too?
4 Replies
for react native, tailwind isn't exactly the same as the web. Nativewind is one of the better implementations of it for RN, but it definitely has some idiosyncrasies and differences than the web.
on the web, I use tailwind and it works well even with UI component libraries like Mantine that don't internally use tailwind. But on RN, this doesn't work nearly as well and I find myself using the default StyleSheet api more than I would hope.
Not that I'm aware of. I use tailwind ui on web as well and honestly I don't find myself missing Tailwind UI when using react native. My experience is that on native the styling of the ui elements is generally not as complex. If I were you I would just use Nativewind and build your own components.
Great, thanks!
You could checkout https://ui.gluestack.io/
gluestack-ui
gluestack-ui: Universal Headless Components
Customizable Components for React, Next.js & React Native with Optional Styling