LogoCraftReactNative

Quick start

Running the demo app locally will allow you to browse through the components and interact with them.

Prerequisites

To run the project, you need to have a React Native environment set up. If you don't have one, you can follow the Expo documentation to set it up.

Clone the repository

Once you have your environment ready, you can clone the repository and change directory to the demo-app folder.

console
git clone https://github.com/craftreactnative/craftrn-ui.git
cd craftrn-ui/demo-app

Running the project

The demo app is an Expo project that requires a development build (it's not compatible with Expo Go). You can run it using the following commands:

console
npx expo install
npx expo run:ios
# or
npx expo run:android

This will install all dependencies, create a development build, and run it on your simulator/emulator or connected device. The first build may take several minutes as it needs to compile the native code.

On this page