# Andr3wHur5t/react-native-keyboard-spacer

Plug and play react-native keyboard spacer view.

Repository: https://github.com/Andr3wHur5t/react-native-keyboard-spacer
Canonical: https://ross.abutalabs.com/products/react-native-keyboard-spacer
Language: JavaScript
License: MIT
License Family: permissive
Topics: keyboard, react-native, ios, helper, clean-code
Last push: 2023-05-03T05:21:03+00:00

## Health v2 (maintenance only)
Score: 23/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 3978, "days_push": 1218, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1573, forks 220 (observed 2026-08-28T04:05:05.540376+00:00)

## What it is
A plug-and-play React Native component that automatically adds a spacer view matching the iOS keyboard height, animating layout when the keyboard appears or disappears. It is a small MIT-licensed npm package for React Native apps.

## Use cases
- keep a text input above the iOS keyboard in React Native
- animate views when the keyboard shows or hides
- avoid manual KeyboardAvoidingView configuration
- add custom top spacing above the keyboard
- run callbacks when the keyboard toggles

## When to choose
- you build a React Native app on iOS and need simple keyboard avoidance
- you want a zero-config drop-in component with layout animation
- you need onToggle callbacks with keyboard height

## When to avoid
- non-React Native projects
- apps needing fine-grained keyboard event control beyond spacing
- projects on unmaintained React Native versions incompatible with this package

## Facets
- artifact type: library
- maturity: maintenance
- function: ui-components, animation, state-management
- domain: mobile-development, frontend, cross-platform
- platform: -
- tags: react-native, keyboard, keyboard-avoidance, layout-animation, plug-and-play, ios, mobile

## Member repositories
- Andr3wHur5t/react-native-keyboard-spacer (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:05.540376+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T03:57:55.942243+00:00, confidence not recorded.
  - readme: https://github.com/Andr3wHur5t/react-native-keyboard-spacer (fetched 2026-08-28T04:05:05.540376+00:00, sha 2c9a8d9d583a)
  - registry_npm: https://registry.npmjs.org/react-native-keyboard-spacer (fetched 2026-08-29T11:27:53.998371+00:00, sha 65fb787098a0)
- Data as of 2026-08-30T08:39:29.467469+00:00.
