First create and setup your react native application
Now add React Native Wind library using
Yarn:
yarn add react-native-wind
or
Npm
npm install react-native-wind
refer for more : https://reactnativewind.com/
That's It 🥳🎉
import React from 'react';
import {Text, View} from 'react-native';
import {s} from 'react-native-wind';
const App = () => {
return (
<View style={s`p-5 w-full h-full bg-green-900`}>
<Text>Hello</Text>
</View>
);
};
export default App;