reactjsreact-nativematerial-ui

Is it possible to use Material UI library with React Native?


I've been using react for a while now and I know that Material UI https://material-ui.com/ is the UI library built for react. My question is - Is it possible to use this library (which is built for react) with react-native ?

On some research I found react-native has another UI library called react-native-paper, but I was wondering if Material-UI can fit together with react-native?


Solution

  • is a react based implementation of the material design system. It is meant for web development and the output that you get is HTML/ CSS (which are the building block of every web page).

    is a framework that lets you build native mobile apps using the power and syntax of React. The native programming language of mobile apps depends on the mobile-os you are currently running. The React Native framework gives you the ability to program in React style, and the output will be a compiled version (os-specific) using the native OS language.

    Unfortunately, those two don't really work together, and you can't just take any React lib and use it in your react-native code.