Gathering detailed insights and metrics for react-native-material-dropdown-v2-fixed
Gathering detailed insights and metrics for react-native-material-dropdown-v2-fixed
Gathering detailed insights and metrics for react-native-material-dropdown-v2-fixed
Gathering detailed insights and metrics for react-native-material-dropdown-v2-fixed
Material dropdown with consistent behaviour on iOS and Android
npm install react-native-material-dropdown-v2-fixed
Typescript
Module System
Node Version
NPM Version
JavaScript (78.89%)
Objective-C (12.5%)
Starlark (4.89%)
Java (3.73%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
NOASSERTION License
2 Stars
198 Commits
11 Forks
1 Branches
3 Contributors
Updated on Apr 22, 2025
Latest Version
0.11.3
Package Id
react-native-material-dropdown-v2-fixed@0.11.3
Unpacked Size
31.48 kB
Size
8.17 kB
File Count
10
NPM Version
6.14.5
Node Version
12.18.2
Cumulative downloads
Total Downloads
Last Day
0%
NaN
Compared to previous day
Last Week
0%
NaN
Compared to previous week
Last Month
0%
NaN
Compared to previous month
Last Year
0%
NaN
Compared to previous year
3
3
Material dropdown with consistent behaviour on iOS and Android This fork contain a fix for the dropdown icon
1npm install --save react-native-material-dropdown-v2-fixed
1import React, { Component } from 'react'; 2import { Dropdown } from 'react-native-material-dropdown-v2-fixed'; 3 4class Example extends Component { 5 render() { 6 let data = [{ 7 value: 'Banana', 8 }, { 9 value: 'Mango', 10 }, { 11 value: 'Pear', 12 }]; 13 14 return ( 15 <Dropdown 16 icon='chevron-down' 17 iconColor='#E1E1E1' 18 label='Favorite Fruit' 19 data={data} 20 /> 21 ); 22 } 23}
name | description | type | default |
---|---|---|---|
label | Text field label text | String | - |
error | Text field error text | String | - |
icon | Text field right icon | String | chevron-down |
animationDuration | Text field animation duration in ms | Number | 225 |
fontSize | Text field font size | Number | 16 |
labelFontSize | Text field label font size | Number | 12 |
baseColor | Text field base color | String | rgba(0, 0, 0, .38) |
textColor | Text field text color | String | rgba(0, 0, 0, .87) |
iconColor | Text field icon color | String | rgba(0, 0, 0, 1) |
itemColor | Dropdown item text color (inactive item) | String | rgba(0, 0, 0, .54) |
selectedItemColor | Dropdown item text color (active item) | String | rgba(0, 0, 0, .87) |
disabledItemColor | Dropdown item text color (disabled item) | String | rgba(0, 0, 0, .38) |
dropdownPosition | Dropdown position (dynamic if undefined) | Number | - |
itemCount | Dropdown visible item count | Number | 4 |
itemPadding | Dropdown item vertical padding | Number | 8 |
itemTextStyle | Dropdown item text styles | Object | - |
dropdownOffset | Dropdown offset | Object | { top: 32, left: 0 } |
dropdownMargins | Dropdown margins | Object | { min: 8, max: 16 } |
data | Dropdown item data | Array | [] |
value | Selected value | String | - |
containerStyle | Styles for container view | Object | - |
overlayStyle | Styles for overlay view | Object | - |
pickerStyle | Styles for item picker view | Object | - |
shadeOpacity | Shade opacity for dropdown items | Number | 0.12 |
rippleOpacity | Opacity for ripple effect | Number | 0.54 |
rippleInsets | Insets for ripple on base component | Object | { top: 16, bottom: -8 } |
rippleCentered | Ripple on base component should be centered | Boolean | false |
renderBase | Render base component | Function | - |
renderAccessory | Render text field accessory | Function | - |
valueExtractor | Extract value from item (args: item, index) | Function | ({ value }) => value |
labelExtractor | Extract label from item (args: item, index) | Function | ({ label }) => label |
propsExtractor | Extract props from item (args: item, index) | Function | () => null |
onChangeText | Selection callback (args: value, index, data) | Function | - |
Other TextField, TextInput and TouchableWithoutFeedback properties will also work
name | description | returns |
---|---|---|
focus() | Acquire focus (open dropdown) | - |
blur() | Release focus (close dropdown) | - |
value() | Get current value | String |
selectedIndex() | Get selected index | Number |
selectedItem() | Get selected item | Object |
isFocused() | Get current focus state | Boolean |
1git clone https://github.com/mdslab87/react-native-material-dropdown 2cd react-native-material-dropdown/example 3npm install 4npm run ios # or npm run android
BSD License
Copyright 2017-2018 Alexander Nazarov. All rights reserved.
No vulnerabilities found.
Reason
0 existing vulnerabilities detected
Reason
binaries present in source code
Details
Reason
license file detected
Details
Reason
Found 0/30 approved changesets -- score normalized to 0
Reason
no SAST tool detected
Details
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
Reason
project is not fuzzed
Details
Reason
branch protection not enabled on development/release branches
Details
Score
Last Scanned on 2025-07-07
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More