Installation

Getting started with React Native Forminput is easy. Follow these steps to add it to your React Native project.

NPM or Yarn Installation

Install the package using npm or yarn:

bash
npm install @react-native-utils/forminput
# or
yarn add @react-native-utils/forminput

Peer Dependencies

React Native Forminput has minimal peer dependencies, but requires:

  • React Native >= 0.63.0
  • React >= 16.13.0

These are typically already installed in your React Native project.

Basic Import

After installation, you can import the FormInput component in your files:

tsx
import { FormInput } from '@react-native-utils/forminput';

TypeScript Support

React Native Forminput includes built-in TypeScript declarations so you can enjoy full TypeScript support.

Next Steps

Now that you have installed React Native Forminput, check out the Basic Usage page to learn how to implement it in your app.