Skip to content

Installation

You can install @react-simplikit/mobile from npm using your favorite package manager.

sh
npm install @react-simplikit/mobile
sh
pnpm add @react-simplikit/mobile
sh
yarn add @react-simplikit/mobile
sh
bun add @react-simplikit/mobile

Requirements

  • React 18 or higher
  • TypeScript 4.7 or higher (recommended)

Usage

Import hooks directly from the package:

tsx
import { useKeyboardHeight, useAvoidKeyboard } from '@react-simplikit/mobile';

All hooks are tree-shakeable, so you only include what you use in your bundle.

Released under the MIT License.