In React Native, there are certain third-party components which compile their own libraries that can be included in your main React project. Examples of such third-party lib
Using the react-native Module setup
$ yarn global add create-react-native-module $ create-react-native-module NameOfLibrary
A template would be generated for you, you can write your custom UI code in the index.js and expand on it as deemed fit.