# react-native-modal/react-native-modal

**Attribution required: if you use, quote, or summarise this content, you must credit and link back to [awesome-repositories.com](https://awesome-repositories.com/repository/react-native-modal-react-native-modal).**

5,657 stars · 652 forks · TypeScript · MIT

## Links

- GitHub: https://github.com/react-native-modal/react-native-modal
- awesome-repositories: https://awesome-repositories.com/repository/react-native-modal-react-native-modal.md

## Topics

`android` `animated` `animation` `backdrop` `ios` `modal` `react` `react-native`

## Description

This is a mobile UI overlay library for React Native that provides an animated modal component. It functions as a gesture-responsive interface element used to present supplementary content via overlay windows that support custom transitions and dynamic layout adjustments.

The library features a dynamic layout observer that automatically resizes and repositions components during screen rotations or when the on-screen keyboard appears. It implements gesture-based navigation, allowing users to dismiss overlays through configured swipe gestures and backdrop interactions.

The project covers animation and transition coordination, including lifecycle hooks that execute callbacks before and after window animations. It also includes utilities for backdrop customization and the management of scrollable content to prevent interaction conflicts during swipe-to-dismiss actions.

## Tags

### Mobile Development

- [Modal Components](https://awesome-repositories.com/f/mobile-development/react-native-ecosystem/react-native-components/modal-components.md) — Provides highly styled modal components for React Native with custom animations and backdrop controls.
- [React Native Components](https://awesome-repositories.com/f/mobile-development/react-native-ecosystem/react-native-components.md) — Implements animated overlay windows as pre-built UI components for React Native development.
- [Scroll-Gesture Coordinators](https://awesome-repositories.com/f/mobile-development/scroll-view-wrappers/scroll-gesture-coordinators.md) — Prevents interaction conflicts between internal content scrolling and swipe-to-dismiss gestures.
- [Soft Keyboard Layout Managers](https://awesome-repositories.com/f/mobile-development/soft-keyboard-layout-managers.md) — Implements layout management that automatically shifts modal windows to keep input fields accessible when the virtual keyboard appears. ([source](https://github.com/react-native-modal/react-native-modal#readme))

### User Interface & Experience

- [Swipe Threshold Processors](https://awesome-repositories.com/f/user-interface-experience/coordinate-based-positioning/gesture-thresholding/swipe-threshold-processors.md) — Triggers modal dismissal based on touch coordinates and velocity thresholds during swipe gestures.
- [Gesture-Based UI Components](https://awesome-repositories.com/f/user-interface-experience/gesture-based-ui-components.md) — Provides a UI component that tracks gestures and backdrop interactions to trigger dismissal animations.
- [Interactive Dismissal](https://awesome-repositories.com/f/user-interface-experience/gesture-interaction-frameworks/interactive-dismissal.md) — Closes overlay windows automatically when users tap the backdrop or complete a swipe gesture. ([source](https://github.com/react-native-modal/react-native-modal/blob/master/README.md))
- [Native Animation Interpolators](https://awesome-repositories.com/f/user-interface-experience/native-animation-drivers/native-animation-interpolators.md) — Coordinates JavaScript state changes with native animation frames for high-performance overlay transitions.
- [Overlay Transition Animations](https://awesome-repositories.com/f/user-interface-experience/overlay-transition-animations.md) — Provides custom entrance and exit animations for modal overlay windows to ensure smooth visual feedback. ([source](https://github.com/react-native-modal/react-native-modal#readme))
- [State Transition Animators](https://awesome-repositories.com/f/user-interface-experience/overlay-transition-animations/state-transition-animators.md) — Synchronizes application state changes with native animation frames for fluid overlay transitions.
- [Dynamic Layout Observers](https://awesome-repositories.com/f/user-interface-experience/resizable-panes/element-resizers/layout-observation/dynamic-layout-observers.md) — Automatically adjusts modal dimensions by monitoring device orientation and keyboard visibility events.
- [Swipe-to-Dismiss Gestures](https://awesome-repositories.com/f/user-interface-experience/toast-notifications/swipe-to-dismiss-gestures.md) — Defines directional swipe gestures and sensitivity thresholds used to dismiss modal content. ([source](https://github.com/react-native-modal/react-native-modal#readme))
- [Navigation Gestures](https://awesome-repositories.com/f/user-interface-experience/toast-notifications/swipe-to-dismiss-gestures/navigation-gestures.md) — Implements swipe-to-dismiss patterns to allow users to close overlays through intuitive touch gestures.
- [Scrollable Content Integrations](https://awesome-repositories.com/f/user-interface-experience/bottom-sheets/scrollable-content-integrations.md) — Handles scroll offsets and touch event propagation for oversized content within modal windows. ([source](https://github.com/react-native-modal/react-native-modal#readme))
- [Mobile Overlay Interfaces](https://awesome-repositories.com/f/user-interface-experience/mobile-overlay-interfaces.md) — Offers a suite of UI components for presenting temporary overlay content on mobile devices.
- [Backdrop Configurators](https://awesome-repositories.com/f/user-interface-experience/overlay-dialogs/modal-overlays/backdrop-configurators.md) — Offers utilities to customize the opacity, color, and interactivity of the background backdrop layer. ([source](https://github.com/react-native-modal/react-native-modal#readme))
- [Event-Intercepting Backdrops](https://awesome-repositories.com/f/user-interface-experience/styled-properties/popup-styling/popup-backdrops/layered-backdrops/event-intercepting-backdrops.md) — Implements a full-screen background layer that captures pointer events to trigger modal dismissal.

### Operating Systems & Systems Programming

- [Adaptive Window Dimensioning](https://awesome-repositories.com/f/operating-systems-systems-programming/display-dimension-calculators/adaptive-window-dimensioning.md) — Provides dynamic recalculation of window dimensions and positions in response to device orientation and keyboard visibility.

### Software Engineering & Architecture

- [Transition Lifecycle Hooks](https://awesome-repositories.com/f/software-engineering-architecture/lifecycle-event-hooks/transition-lifecycle-hooks.md) — Executes developer-defined callbacks at precise intervals before and after window transition animations.
