React Native UI Components for Material Design
React Native Material Design
React Native components which implement Material Design.
This repository has been heavily developed on top of the mrn project started by @binggg. Improvements include support for the latest React Native versions, many bug fixes, extra components, backward compatibility to Android SDK API 16 and more.
Installation
npm i react-native-material-design --save
Follow the Android installation instructions on the react-native-vector-icons library, which consists of adding the following to your ./android/app/build.gradle
:
apply from: "../../node_modules/react-native-vector-icons/fonts.gradle"
Note: It's possible that the instructions on the react-native-vector-icons page differ from what is above. If that's the case, follow those instructions, and please file an issue with us to update it here.
Import any required components into your project, for example:
import { Button, Card } from 'react-native-material-design';
You may need to restart your packager in order for the icons to render.
Documentation
Documentation & full installation instructions are available at http://react-native-material-design.github.io
React Native 0.16+
This library only works with React Native 0.16+ due to the breaking changes with Babel and font loading it introduced.