# react-native-hide-keyboard

> A React Native hide keyboard module is for hiding and showing the keyboard without blurring the textInput component

Latest version **0.2.3** (published 2022-12-01) · MIT license · 0 weekly downloads

## Install

```sh
npm install react-native-hide-keyboard
pnpm add react-native-hide-keyboard
yarn add react-native-hide-keyboard
bun add react-native-hide-keyboard
```

## Health

**Score 30/100 (F)** — status: abandoned.

Positive: has types; esm support; no vulnerabilities; high quality score.

Warnings: low downloads; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.2.3 |
| Published | 2022-12-01 |
| First published | 2022-04-02 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 0 |
| Unpacked size | 20.6 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 6 |
| Author | Muhammad Rafeh |
| Maintainers | muhammadrafeh |
| Keywords | react-native, ios, android, android, react native hide keyboard, react-native-hide-keyboard, hide keyboard, show keyboard, react native keyboard |

## Links

- npm: https://www.npmjs.com/package/react-native-hide-keyboard
- Repository: https://github.com/MuhammadRafeh/react-native-hide-keyboard
- Homepage: https://github.com/MuhammadRafeh/react-native-hide-keyboard#readme
- Issues: https://github.com/MuhammadRafeh/react-native-hide-keyboard/issues
- npm.io page: https://npm.io/package/react-native-hide-keyboard

## Alternatives

- [@sindresorhus/slugify](https://npm.io/package/@sindresorhus/slugify.md) — 3.7M weekly downloads
- [solid-js](https://npm.io/package/solid-js.md) — 2.7M weekly downloads
- [expo-glass-effect](https://npm.io/package/expo-glass-effect.md) — 2.5M weekly downloads
- [nanoassert](https://npm.io/package/nanoassert.md) — 780.8K weekly downloads
- [@ffmpeg/ffmpeg](https://npm.io/package/@ffmpeg/ffmpeg.md) — 529.5K weekly downloads

## Recent versions

- 0.2.3 (latest) — 2022-12-01
- 0.2.2 — 2022-11-01
- 0.2.1 — 2022-07-11
- 0.2.0 — 2022-04-03
- 0.1.9 — 2022-04-03
- 0.1.8 — 2022-04-03
- 0.1.7 — 2022-04-03
- 0.1.6 — 2022-04-03
- 0.1.5 — 2022-04-03
- 0.1.4 — 2022-04-03
- 0.1.3 — 2022-04-03
- 0.1.2 — 2022-04-02
- 0.1.1 — 2022-04-02
- 0.1.0 — 2022-04-02

## README

# react-native-hide-keyboard (Android For Now)

A React Native hide keyboard module is for hiding and showing the keyboard without blurring TextInput component.

## Installation

```sh
npm install react-native-hide-keyboard
```

or

```sh
yarn add react-native-hide-keyboard
```

## Demo
<img src="https://s7.gifyu.com/images/demo650a21e2b09a956c.gif" width="35%">

## Usage

```js
import { hideKeyboard, showKeyboard } from "react-native-hide-keyboard";

// For hiding Keyboard
const isItHide = await hideKeyboard();
if (isItHide) {
    // Here Keyboard is hide without blurring textInput
}

// For showing keyboard
const isItShow = await showKeyboard();
if (isItShow) {
    // Here keyboard is active/displayed
}
```

## Contributing

See the [contributing guide](CONTRIBUTING.md) to learn how to contribute to the repository and the development workflow.

## License

MIT

---
_Source: https://npm.io/package/react-native-hide-keyboard · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
