Giter VIP home page Giter VIP logo

nativewind's Introduction

Tailwind CSS

NativeWind

GitHub branch checks state npm npm GitHub

NativeWind uses Tailwind CSS as high-level scripting language to create a universal design system. Styled components can be shared between all React Native platforms, using the best style engine for that platform (e.g. CSS StyleSheet or StyleSheet.create). It's goals are to to provide a consistent styling experience across all platforms, improving Developer UX, component performance and code maintainability.

NativeWind processes your styles during your application build, and uses a minimal runtime to selectively apply reactive styles (eg changes to device orientation, light dark mode).

In Action

Features

  • Works on all RN platforms, uses the best style system for each platform.
  • Uses the Tailwind CSS compiler
  • Styles are computed at build time
  • Small runtime keeps your components fast
  • Babel plugin for simple setup and improving intellisense support
  • Respects all tailwind.config.js settings, including themes, custom values, plugins
  • dark mode / arbitrary classes / media queries
  • pseudo classes - hover / focus / active on compatible components
  • styling based on parent state - automatically style children based upon parent pseudo classes
  • children styles - create simple layouts based upon parent class

Documentation

All documentation is on our website https://nativewind.dev

nativewind's People

Contributors

renovate[bot] avatar marklawlor avatar semantic-release-bot avatar renovate-bot avatar github-actions[bot] avatar jmeistrich avatar the-dijkstra avatar angeloanolin avatar sync avatar aviavinav avatar evanbacon avatar ferasaloudah avatar infinitexyy avatar johnf avatar jsellam avatar timedtext avatar bidah avatar viraj-10 avatar yjose avatar amandeepmittal avatar andrefelipeschulle avatar amorriscode avatar arnaudambro avatar bingcoke avatar thefinnomenon avatar christianbauer1 avatar danscan avatar nandorojo avatar gabeconsalter avatar isaacwashere avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.