• Stars
    star
    185
  • Rank 208,271 (Top 5 %)
  • Language
    JavaScript
  • License
    MIT License
  • Created over 6 years ago
  • Updated about 2 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Functional CSS classes for React Native πŸ’˜

⚑ React Native Tailwind ⚑

The fantastic Tailwind CSS, for React Native!

npm version

Getting started

1. Install the package

yarn add react-native-tailwind

2. Import the components

import { View, Text } from "react-native-tailwind";

3. Use utility classes!

const RocketShip = ({ textForAliens }) => (
  <View className="flex-1 items-center justify-center bg-gray-200">
    <Text className="text-white p-4">{textForAliens}</Text>
  </View>
);

To see which classes are supported, see tailwind.js.


License

MIT