Skip to content

Latest commit

History

25 Commits

Folders and files

NameName
Last commit message
Last commit date

Repository files navigation

About

this is a floating Label input for react native that support ltr and rtl direction.you can check the demo below:

Demo

Installation

Use the package manager npm to install FloatingLabelInputBlufy.

npm i floating-label-input-blufy

Usage

import{FloatingLabelInput}from'floating-label-input-blufy'constapp=()=>{return(<View><FloatingLabelInputfontSize={20}backgroundColor={Colors.Primary}direction={'ltr'}title={'Username'}ContainerStyle={{marginTop:50}}></FloatingLabelInput></View>);}exportdefaultapp;

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Props

PropTypeDefaultDescription
backgroundColorStringundefinedColor of Component Background
durationNumber300duration of animation
widthnumber250component's width
titleStringtitlehint text
ContainerStyleObjectundefinedSet styles to the input container component
fontSizeNumber18hint and textinput font size
direction'ltr''rtl''ltr'
fontFontundefinedfontFamily of Component
isPasswordboolfalsechange input type to password

License

MIT