react-native-tailwind

1.0.10 • Public • Published

⚡ 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

/react-native-tailwind/

    Package Sidebar

    Install

    npm i react-native-tailwind

    Weekly Downloads

    32

    Version

    1.0.10

    License

    MIT

    Unpacked Size

    164 kB

    Total Files

    7

    Last publish

    Collaborators

    • mythical.fish