Nativewind (@nativewindcss) header
Nativewind (@nativewindcss) profile picture

Tailwind CSS for React Native

Joined July 2024
The Nativewind v5 Release Candidate is here! Try it in your app and let us know if you run into any issues. See 👇 for whether you're coming from v4 or v5 preview. Assuming no major issues, this will become the latest version in 2 weeks. Thanks to all the early adopters ❤️
4
11
1
115
9,807
Nativewind 4.2.6 is now available ✨ This version fixes fast refresh on React Native 0.83+ and Expo SDK 55 and 56. Adding a new class while the app is running updates in real-time again. No full restart needed. npm i nativewind@latest Thanks for your help @jackmekiss!
3
4
53
3,970
"Less, but better" is at the root of Nativewind v6. As v5.0 moves to latest, v6 turns to performance. We're working on pushing our core upstream into Yoga and React Native so Nativewind gets thinner and faster. The goal: flip the switch and go faster. github.com/nativewind/native…
4
39
2,645
Long time coming, here’s the custom font guide for v5, way easier in Tailwind v4 nativewind.dev/v5/guides/cus…
Had some issues with @nativewindcss custom fonts through @expo, because it wasn't clear enough for me from the docs how to include them Here's how I did it: - download your fonts in .otf or .ttf format if you want universal support accross platforms. OTF render better and have smaller size - variable fonts don't work so you need to download the weights you want to use - install them through expo-font library, easier through app.json config file - add them in tailwind.config.ts under theme.extend.fontFamily with the same name as the file, which should follow the PostScript convention, otherwise it won't work for iOS example: { theme: { extend: { fontFamily: { "inter-black" : ["Inter-Black"], // ... } } } } You can now use them in Nativewind, but need to specify the font name and weight together className="font-inter-black"
1
2
11
1,926
State of Nativewind is back today at 2:30pm PT! @DanStepanov will be going over: 1. 3 patch versions released for react-native-css 2. Documentation updates 3. Overall expectations for the weeks to come You can watch here or on YouTube ✌️
1
2
9
936
Mark is unavailable today and next week so we'll be skipping the State of Nativewind in lieu of text-based updates and sporadic twitter spaces. Details coming soon.
13
1,261
The installation guide has been updated to include an override to lightningcss. You need to set it to v1.30.1. Without this step, you may run into deserialization errors with respect to `global.css` when building your app. nativewind.dev/v5/getting-st…
1
3
2
91
6,083
Handling some technical issues on Mark's end, will start the stream soon
8
1,507
State of Nativewind will be starting at 3:30pm PT today, see y'all there! 🌬️
3
17
1,956
✨ The v5 preview is here! - Tailwind v4 support - Simpler setup - Most complete CSS support for RN And a lot more...👇 Try it now: `npx rn-new@next --nativewind`
28
42
3
616
42,976
Most significantly, this introduces react-native-css as a separate library from Nativewind (now just a plugin). This newly separated library aims to provide the most complete CSS support for React Native. This separation provides newfound flexibility. github.com/nativewind/react-…
1
22
2,363
In celebration of tomorrow's announcement 👀 Thanks for trusting us with your projects, y'all. ❤️
1
4
97
6,733
State of Nativewind starts in 5 minutes!
25
3,338
Preliminary docs for v5 are ready, still working through the actual release. Looking like it’ll creep into next week.
4
1
47
3,945
Won’t make sense to publish the docs until the release is out though.
2
1,217
No State of Nativewind today, we’re working to get the v5 pre-release out. Shouldn’t be later than end of this week.
5
1
75
6,451
State of Nativewind starts at 2:30pm PT!
1
3
16
2,161
State of Nativewind is live in 5! youtube.com/watch?v=T1qhN7-B…
1
7
2,337