All Projects → MobileReality → react-native-select-pro

MobileReality / react-native-select-pro

Licence: MIT license
React Native dropdown (select) component developed by Mobile Reality

Programming Languages

typescript
32286 projects
java
68154 projects - #9 most used programming language
javascript
184084 projects - #8 most used programming language
C++
36643 projects - #6 most used programming language
Objective-C++
1391 projects
objective c
16641 projects - #2 most used programming language

Projects that are alternatives of or similar to react-native-select-pro

react-native-multi-selectbox
Platform independent (Android / iOS) Selectbox | Picker | Multi-select | Multi-picker. The idea is to bring out the common user interface & user experience on both platforms.
Stars: ✭ 169 (+113.92%)
Mutual labels:  dropdown, picker, react-native-component, expo
React Native Modal Dropdown
A react-native dropdown/picker/selector component for both Android & iOS.
Stars: ✭ 1,103 (+1296.2%)
Mutual labels:  select, dropdown, picker, react-native-component
React Native Dropdown Picker
A single / multiple, categorizable & searchable item picker (dropdown) component for react native which supports both Android & iOS.
Stars: ✭ 230 (+191.14%)
Mutual labels:  select, dropdown, menu, picker
React Native Number Please
🔢 Generate react-native pickers with range numbers.
Stars: ✭ 30 (-62.03%)
Mutual labels:  dropdown, picker, expo
React Dropdown Select
Customisable dropdown select for react
Stars: ✭ 227 (+187.34%)
Mutual labels:  select, dropdown, menu
Easydropdown
A lightweight library for building beautiful styleable <select> elements
Stars: ✭ 337 (+326.58%)
Mutual labels:  select, dropdown, menu
Ember Select Box
🔠 A faux select box for Ember apps
Stars: ✭ 60 (-24.05%)
Mutual labels:  select, dropdown, menu
React Native Picker Select
🔽 A Picker component for React Native which emulates the native <select> interfaces for iOS and Android
Stars: ✭ 1,229 (+1455.7%)
Mutual labels:  select, dropdown, picker
react-native-smart-picker
React Native Smart Picker is easy wrapper for React Native Picker. Allows toggling the picker open and closed on iOS and native behaviour on Android.
Stars: ✭ 19 (-75.95%)
Mutual labels:  dropdown, picker
vue-tags-component
Vue.js 2+ tags component
Stars: ✭ 27 (-65.82%)
Mutual labels:  select, dropdown
react-native-autocomplete-dropdown
Dropdown Item picker with search and autocomplete (typeahead) functionality for react native
Stars: ✭ 87 (+10.13%)
Mutual labels:  select, dropdown
Teaset
A UI library for react native, provides 20+ pure JS(ES6) components, focusing on content display and action control.
Stars: ✭ 2,845 (+3501.27%)
Mutual labels:  select, menu
Ng Select
⭐ Native angular select component
Stars: ✭ 2,781 (+3420.25%)
Mutual labels:  select, dropdown
tagselector
Dependency-free JS library that turns select fields in customizable tag clouds
Stars: ✭ 19 (-75.95%)
Mutual labels:  select, dropdown
insect
🛠 Highly customisable, minimalistic input x select field for React.
Stars: ✭ 33 (-58.23%)
Mutual labels:  select, dropdown
choc-autocomplete
🏇 Autocomplete Component Package for Chakra UI
Stars: ✭ 286 (+262.03%)
Mutual labels:  select, dropdown
clicky-menus
Simple click-triggered navigation submenus. Accessible and progressively enhanced.
Stars: ✭ 76 (-3.8%)
Mutual labels:  dropdown, menu
csc picker
A flutter package to display a country, states, and cities. In addition it gives the possibility to select a list of countries, States and Cities depends on Selected, also you can search country, state, and city all around the world.
Stars: ✭ 25 (-68.35%)
Mutual labels:  dropdown, picker
react-multi-select-component
Lightweight (~5KB gzipped) multiple selection dropdown component
Stars: ✭ 279 (+253.16%)
Mutual labels:  select, dropdown
ContextMenuSwift
A better version of iOS 13 Context Menu
Stars: ✭ 162 (+105.06%)
Mutual labels:  dropdown, menu
React Native Select Pro

React Native dropdown (select) component developed by Mobile Reality


Version GitHub stars npm total downloads npm week downloads Last master branch commit License

Features

  • Customizable
  • Searchable
  • Animations
  • Multi select
  • Android / iOS / Expo support
  • TypeScript support
  • Based on react-native-portal

Example

Expo Snack

Example on Expo

Video preview

Simulator.Screen.Recording.-.iPhone.12.-.2022-07-03.at.07.59.14.mp4

Repo

Clone this repo https://github.com/MobileReality/react-native-select-pro and next:

cd apps/expo
yarn dev-start

Documentation

https://mobilereality.github.io/react-native-select-pro/

Getting Started

Installation

npm install @mobile-reality/react-native-select-pro

or

yarn add @mobile-reality/react-native-select-pro

Usage

Firstly, wrap your app code in SelectProvider

import React from 'react';
import { SelectProvider } from '@mobile-reality/react-native-select-pro';

const RootComponent = () => {
    return (
        <SelectProvider>
            {/* rest of your app code */}
        </SelectProvider>
    )
};

Then you can use Select component

import React from 'react';
import { View } from 'react-native';
import { Select } from '@mobile-reality/react-native-select-pro';

const SomeComponent = () => {
    return (
        <View>
            <Select {/* One required prop: `options` */}
                options={[{ value: 'somevalue', label: 'somelabel' }]}
            />
        </View>
    )
};

If you want to use Select component inside:

  • Modal from react-native / react-native-modal
  • BottomSheet from react-native-bottom-sheet

you need to wrap code inside Modal / BottomSheet in SelectModalProvider

import React from 'react';
import { View, Modal, Text } from 'react-native';
import { Select, SelectModalProvider } from '@mobile-reality/react-native-select-pro';

const SomeComponent = () => {
    return (
        <View>
            <Modal> {/* e.g. `Modal` from `react-native` */}
                <SelectModalProvider> {/* `SelectModalProvider` wrapping code inside `Modal` */}
                    <Text>Modal</Text>
                    <Select
                        options={[{ value: 'somevalue', label: 'somelabel' }]}
                    />
                </SelectModalProvider>
            </Modal>
        </View>
    )
};

Thanks

Contributing

See the contributing guide to learn how to contribute to the repository and the development workflow.

License

MIT

Want more from Mobile Reality?

Contact with us https://mobilereality.pl/en

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].