Gathering detailed insights and metrics for @webileapps/react-native-floating-labels
Gathering detailed insights and metrics for @webileapps/react-native-floating-labels
Gathering detailed insights and metrics for @webileapps/react-native-floating-labels
Gathering detailed insights and metrics for @webileapps/react-native-floating-labels
React Native Floating Labels Library
npm install @webileapps/react-native-floating-labels
Typescript
Module System
Node Version
NPM Version
JavaScript (100%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
MIT License
163 Stars
77 Commits
74 Forks
7 Watchers
3 Branches
12 Contributors
Updated on Mar 30, 2024
Latest Version
1.2.0
Package Id
@webileapps/react-native-floating-labels@1.2.0
Unpacked Size
8.55 kB
Size
3.41 kB
File Count
4
NPM Version
6.9.0
Node Version
10.16.3
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
1
A <FloatingLabel>
component for react-native. This is still very much a work
in progress and only handles the simplest of cases, ideas and
contributions are very welcome.
npm install react-native-floating-labels --save
var FloatingLabel = require('react-native-floating-labels');
1'use strict'; 2 3var React = require('react-native'); 4 5var FloatingLabel = require('react-native-floating-labels'); 6 7var { 8 AppRegistry, 9 StyleSheet, 10 View, 11} = React; 12 13class form extends React.Component { 14 15 constructor(props, context) { 16 super(props, context); 17 18 this.state = { 19 dirty: false, 20 }; 21 } 22 23 onBlur() { 24 console.log('#####: onBlur'); 25 } 26 27 render() { 28 return ( 29 <View style={styles.container}> 30 <FloatingLabel 31 labelStyle={styles.labelInput} 32 inputStyle={styles.input} 33 style={styles.formInput} 34 value='john@email.com' 35 onBlur={this.onBlur} 36 >Email</FloatingLabel> 37 <FloatingLabel 38 labelStyle={styles.labelInput} 39 inputStyle={styles.input} 40 41 style={styles.formInput} 42 >First Name</FloatingLabel> 43 <FloatingLabel 44 labelStyle={styles.labelInput} 45 inputStyle={styles.input} 46 style={styles.formInput} 47 >Last Name</FloatingLabel> 48 </View> 49 ); 50 } 51}; 52 53var styles = StyleSheet.create({ 54 container: { 55 flex: 1, 56 paddingTop: 65, 57 backgroundColor: 'white', 58 }, 59 labelInput: { 60 color: '#673AB7', 61 }, 62 formInput: { 63 borderBottomWidth: 1.5, 64 marginLeft: 20, 65 borderColor: '#333', 66 }, 67 input: { 68 borderWidth: 0 69 } 70}); 71 72AppRegistry.registerComponent('form', () => form); 73 74 75 76
Additional Props:
FloatingLabel is just like any TextInput. It supports the below mentioned events handlers:
Following properties of TextInput are supported:
- autoCapitalize
- autoCorrect
- autoFocus
- bufferDelay
- clearButtonMode
- clearTextOnFocus
- controlled
- editable
- enablesReturnKeyAutomatically
- keyboardType
- multiline
- password
- returnKeyType
- selectTextOnFocus
- selectionState
- style
- testID
- value
Following events are supported:
- onBlur
- onChange
- onChangeText
- onEndEditing
- onFocus
- onSubmitEditing
MIT Licensed
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
0 existing vulnerabilities detected
Reason
license file detected
Details
Reason
Found 9/20 approved changesets -- score normalized to 4
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
SAST tool is not run on all commits -- score normalized to 0
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