On GitHub, xinthink/react-native-material-kit has picked up 4.8k stars, Mobile, TypeScript. Bringing Material Design to React Native
Snapshot summary built from the project's own GitHub metadata — there's no written TopGit review yet. The page will update automatically when a full review is published.
WHY NO REVIEW YET
TopGit writes full reviews for the most-starred, most-requested repositories. This page is a snapshot until then — see the READ ME tab for the original README in full.
A set of UI components, in the purpose of introducing Material Design to apps built with React Native, quickly and painlessly.
Getting Started
First, cd to your RN project directory, and install RNMK through rnpm . If you don't have rnpm, you can install RNMK from npm with the command npm i -S react-native-material-kit and link it manually (see below).
NOTICE:
react-native-material-kit >= 0.4.0 only supports react-native >= 0.40.0
react-native-material-kit < 0.4.0 only supports react-native < 0.40.0
iOS
React Native < 0.29 (Using rnpm)
rnpm install react-native-material-kit
React Native >= 0.29
npm install -S react-native-material-kit
react-native link react-native-material-kit
Manually
Add node_modules/react-native-material-kit/iOS/RCTMaterialKit.xcodeproj to your xcode project, usually under the Libraries group
Add libRCTMaterialKit.a (from Products under RCTMaterialKit.xcodeproj) to build target's Linked Frameworks and Libraries list
Option: Using CocoaPods
Assuming you have CocoaPods installed, create a PodFile like this in your app's project directory. You can leave out the modules you don't need.
xcodeproj 'path/to/YourProject.xcodeproj/'
pod 'React', :subspecs => ['Core', 'RCTText', 'RCTWebSocket'], :path => 'node_modules/react-native'
pod 'react-native-material-kit', :path => 'node_modules/react-native-material-kit'
post_install do |installer|
target = installer.pods_project.targets.select{|t| 'React' == t.name}.first
phase = target.new_shell_script_build_phase('Run Script')
phase.shell_script = "if nc -w 5 -z localhost 8081 ; then\n if ! curl -s \"http://localhost:8081/status\" | grep -q \"packager-status:running\" ; then\n echo \"Port 8081 already in use, packager is either not running or not running correctly\"\n exit 2\n fi\nelse\n open $SRCROOT/../node_modules/react-native/packager/launchPackager.command || echo \"Can't start packager automatically\"\nfi"
end
Now run pod install. This will create an Xcode workspace containing all necessary native files, including react-native-material-kit. From now on open YourProject.xcworkspace instead of YourProject.xcodeproject in Xcode. Because React Native's iOS code is now pulled in via CocoaPods, you also need to remove the React, RCTImage, etc. subprojects from your app's Xcode project, in case they were added previously.
Android
React Native < 0.29 (Using rnpm)
rnpm install react-native-material-kit
React Native >= 0.29
npm install -S react-native-material-kit
react-native link react-native-material-kit
Manually
JDK 7+ is required
Add the following snippet to your android/settings.gradle:
include ':RNMaterialKit'
project(':RNMaterialKit').projectDir = file('../node_modules/react-native-material-kit/android')
Declare the dependency in your android/app/build.gradle
The two Text tags here, similar to State List in Android development, which can give you the flexibility to decide what content and how it is shown for each state of the toggle. For example, you can use react-native-icons here, or any other sophisticated contents.
How does xinthink/react-native-material-kit compare to other Mobile projects?
xinthink/react-native-material-kit is tracked by TopGit in the Mobile category, with 4.8k GitHub stars and written in TypeScript. Browse the Mobile topic page on TopGit to compare it against similar projects by stars and activity.
Is xinthink/react-native-material-kit open source?
Yes — xinthink/react-native-material-kit ships under the MIT license, which makes its source code freely readable (and, depending on license terms, forkable and reusable). Source: github.com/xinthink/react-native-material-kit.
What else is in the Mobile space?
xinthink/react-native-material-kit is tracked by TopGit under the Mobile category, alongside 2 GitHub-tagged topics. Trending and Topics pages list peer repositories of comparable stars and language.
What is xinthink/react-native-material-kit?
xinthink/react-native-material-kit (xinthink/react-native-material-kit) is a TypeScript project on GitHub. From the project's own README: Bringing Material Design to React Native
Where do I read more about xinthink/react-native-material-kit?
This TopGit page is a snapshot — the READ ME tab shows the project's own README content (links stripped, images preserved). The GitHub repository at github.com/xinthink/react-native-material-kit is the definitive source.
Why is xinthink/react-native-material-kit categorized under Mobile?
TopGit places xinthink/react-native-material-kit in the Mobile category based on its GitHub topics and description (tagged: "material-design", "react-native"). Categories are assigned from real repository metadata, not editorial guesswork.
Read full README in the tab above.
Want a second opinion on react-native-material-kit?
Ask an AI that can read this page — one click and you get its take on react-native-material-kit.