> For the complete documentation index, see [llms.txt](https://colorfy-software.gitbook.io/react-native-modalfy/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://colorfy-software.gitbook.io/react-native-modalfy/2.x/installation.md).

# Installation

## Bare React Native projects

**1.** Install the `react-native-modalfy` package.

{% tabs %}
{% tab title="Yarn" %}

```
yarn add react-native-modalfy
```

{% endtab %}

{% tab title="npm" %}

```bash
npm install --save react-native-modalfy
```

{% endtab %}
{% endtabs %}

**2.** Then you'll need to install and link [`react-native-gesture-handler`](https://docs.swmansion.com/react-native-gesture-handler/docs/#installation) to your project.

**3.** That's it! No further action required!

Now you can move on to actually using the library through the modal stack.

## Expo managed projects

If you're using Expo, you'll only need to run this single command from the root of your project:

{% tabs %}
{% tab title="Bash" %}

```bash
expo install react-native-modalfy react-native-gesture-handler
```

{% endtab %}
{% endtabs %}
