Native (and web) tailwind support
O
Oliver Funk
Given the prevalence of tailwind in major projects and a technology loved by many, adding direct support for tailwind by Expo would be a massive win and improve cross platform consistency and developer productivity.
Currently, the best know (to me at least) package for native tailwind integration is Nativewind (https://www.nativewind.dev/).
However there has been a long and drawn out delay in the v4 release and I fear the project requires substantially more support, which it is not getting.
Give the ubiquity of tailwind, I believe this feature is becoming a necessity for frontend work.
Y
Younes
there is also an advanced template for nativewind v4 that you can try here : https://github.com/launchtrack/expo-starter
Gustavo Bonfim
We propose that Nativewind be integrated into the Expo team as an official library for using Tailwind with React Native and Expo. This initiative would bring several benefits:
- Increased reliability and visibility: Nativewind would become an official Expo tool, with ongoing support and development from the team.
- Constant evolution: The library would benefit from Expo's expertise and resources, ensuring frequent updates and continuous improvements.
- Strengthening the idea of universal applications: Nativewind aligns with Expo's vision of creating universal applications with Expo Router, making it easier to create consistent interfaces across different platforms.
Currently, Nativewind is maintained by a limited number of people, which limits its development and reach. By integrating it into Expo, we ensure a promising future for this tool, benefiting the entire React Native developer community.
We believe that this change will have a significant positive impact on the React Native and Expo ecosystem, driving the creation of more intuitive and robust user interfaces.
We would like to inquire about Mark's perspective on this matter and whether his involvement could expedite the process. Additionally, we would appreciate clarification on the feasibility of integrating Nativewind into Expo's official library portfolio. A clear understanding of the technical and logistical considerations would be valuable in moving forward with this proposal.
We are confident that the integration of Nativewind into Expo would be a mutually beneficial endeavor, enhancing the capabilities of both platforms and empowering developers to create exceptional user experiences. We eagerly await your response and the opportunity to explore this proposal further.
Michael Wood
Try
npx create-expo-app -e with-nativewind
or npx create-expo-app -e with-router-tailwind
See also: https://github.com/expo/examples