All Projects → jeremybarbet → React Native Modalize

jeremybarbet / React Native Modalize

Licence: mit
A highly customizable modal/bottom sheet that loves scrolling content.

Programming Languages

typescript
32286 projects
javascript
184084 projects - #8 most used programming language
shell
77523 projects

Projects that are alternatives of or similar to React Native Modalize

React Native Popover View
A well-tested, adaptable, lightweight <Popover> component for react-native
Stars: ✭ 191 (-90.99%)
Mutual labels:  component, modal
Sppagemenu
分页菜单,功能非常齐全,满足绝大多数APP,简书地址:
Stars: ✭ 402 (-81.03%)
Mutual labels:  component, scrollview
React Popup
React popup component
Stars: ✭ 198 (-90.66%)
Mutual labels:  component, modal
Mao Rn Android Kit
⚙️ Android Native (ui components and modules) wrap in React Native
Stars: ✭ 74 (-96.51%)
Mutual labels:  component, scrollview
React Native Image View
Modal component to view images with zoom
Stars: ✭ 273 (-87.12%)
Mutual labels:  component, modal
Reactjs Popup
React Popup Component - Modals,Tooltips and Menus —  All in one
Stars: ✭ 1,211 (-42.85%)
Mutual labels:  component, modal
React Splitters
React splitter component, written in TypeScript.
Stars: ✭ 127 (-94.01%)
Mutual labels:  component
Widgetlayout
自定义ViewGroup的集合(有 kotlin 实现分支):提高编写效率和 UI 绘制性能,少嵌套,易用易扩展。
Stars: ✭ 130 (-93.87%)
Mutual labels:  scrollview
Vue Blu
UI Component Library Base on Vue.js(2.x) and Bulma
Stars: ✭ 1,593 (-24.82%)
Mutual labels:  component
React Modal Box
React Modal Box, is a simple dependency free and customizable React Component to display Modals on your application. Its simple event system allows you to place the modal in the root component of your application, and calling it with the simple mixins, allows you to be flexible. It also includes event handling mixins, so you can detect when the modal is being called or being hidden.
Stars: ✭ 126 (-94.05%)
Mutual labels:  component
Zarm Web
基于 React 的桌面端UI组件库
Stars: ✭ 135 (-93.63%)
Mutual labels:  component
Aura.filter
Validate and sanitize arrays and objects.
Stars: ✭ 134 (-93.68%)
Mutual labels:  component
Svelte Simple Modal
A simple, small, and content-agnostic modal for Svelte v3
Stars: ✭ 130 (-93.87%)
Mutual labels:  modal
A11y Dialog
A very lightweight and flexible accessible modal dialog script.
Stars: ✭ 1,768 (-16.56%)
Mutual labels:  modal
Toggle Switch React Native
Toggle Switch React Native Component works on both iOS and Android
Stars: ✭ 131 (-93.82%)
Mutual labels:  component
Vue Loaders
Vue + loaders.css
Stars: ✭ 127 (-94.01%)
Mutual labels:  component
Tagger
Zero Dependency, Vanilla JavaScript Tag Editor
Stars: ✭ 135 (-93.63%)
Mutual labels:  component
Property Info
PropertyInfo extracts information about PHP class' properties using metadata of popular sources.
Stars: ✭ 1,747 (-17.56%)
Mutual labels:  component
Vue Final Modal
🍕Vue Final Modal is a tiny, renderless, mobile-friendly, feature-rich modal component for Vue.js.
Stars: ✭ 128 (-93.96%)
Mutual labels:  modal
Redux Tooltip
A tooltip React component for Redux.
Stars: ✭ 134 (-93.68%)
Mutual labels:  component

Modalize

npm version

A highly customizable modal/bottom sheet that loves scrolling content.

This component has been built with react-native-gesture-handler to address the common issue of scrolling, swiping and handling the keyboard behaviors, you can face with react-native's modal.

This component comes with a ScrollView, the default renderer, a FlatList or a SectionList. They are all three built-in and make your life easier, just pass your content and Modalize will handle the rest for you. You can also have the possibility to pass your own custom renderer.

Simple Fixed Snapping Absolute FlatList Open Apple Facebook Slack

Installation

yarn add react-native-modalize react-native-gesture-handler
iOS
npx pod-install ios
Android

React Native <= 0.59

Follow this guide to complete the Android installation.

React Native > 0.60

You don't need to follow the guide mentioned above because autolinking from React already did the steps.

Usage

Here is a quick example, using the default ScrollView renderer.

import React, { useRef } from 'react';
import { View, Text, TouchableOpacity } from 'react-native';
import { Modalize } from 'react-native-modalize';

export const App = () => {
  const modalizeRef = useRef<Modalize>(null);

  const onOpen = () => {
    modalizeRef.current?.open();
  };

  return (
    <>
      <TouchableOpacity onPress={onOpen}>
        <Text>Open the modal</Text>
      </TouchableOpacity>

      <Modalize ref={modalizeRef}>...your content</Modalize>
    </>
  );
};

Documentation

Please check out the full documentation available here to find all about the props, methods and examples of Modalize's usage.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].