Files
nativewind/website/docs/why-tailwind.md
2022-05-05 14:07:45 +10:00

1.2 KiB

sidebar_position
sidebar_position
100

Why Tailwind CSS?

If you are not familiar with Tailwind CSS, we recommend you read about the core concepts of being utility-first framework and how this approach is benifical over inline-styles. Tailwind CSS has proven that these concepts help create large, maintainable design systems.

Tailwind CSS's utility-first approach also allows it to act as a higher-level style language. Developers don't need to learn the platform specific styles, reducing the cognitve load when targetting multiple platforms.

The best developer experience

Tailwind CSS has a great developer experience with many editors and IDEs having in-build lanaguage support. To take advantage of this tooling tailwindcss-react-native provides a Babel plugin that allows you to write React Native components using the className prop.

Don't reinvent the wheel

Tailwind CSS already has established themes, plugins with a huge community. Instead of developing yet-another framework, we can simply bring Tailwind CSS to React Native.