1.2.0 • Published 4 years ago

react-floating-labels v1.2.0

Weekly downloads
2
License
ISC
Repository
github
Last release
4 years ago

React Floating Labels

By: Nickolai Vassiliev (Gilae)

Node.js Package

Preface

This library provides easy Inputs with Floating Labels.

It's maintained only by myself, however any help is appreciated.

I am aware there is already an existing library that does the same thing, but I'm hoping that this one will be more extensive.

Additionally, this also provides an auto-extending textarea.

Setup

NPM

npm install react-floating-labels

or

Yarn

yarn add react-floating-labels

Usage

import { FloatingInput } from 'react-floating-labels';

const TestComp = (props) => {
    <div>
        <FloatingInput
            type=`TYPE_HERE`
            onChange={onChangeFunction}
            label=`Label Text`
            className=`Class of container`
            inputClass=`Class of input node`
            labelClass=`Class of label node`
            value={value}>
                <ExampleChild>
        </FloatingInput>
    </div>
}

Contributing

I'm aware this component is still kind of rough, feel free to fork this repository and make a pull request. I'll be sure to take a look at and respond to any issues and pull requests on this repo.

1.2.0

4 years ago

1.1.4

4 years ago

1.1.3

4 years ago

1.1.1

4 years ago

1.1.2

4 years ago

1.1.0

4 years ago

1.0.19

4 years ago

1.0.18

4 years ago

1.0.17

4 years ago

1.0.16

4 years ago

1.0.15

4 years ago

1.0.14

4 years ago

1.0.12

4 years ago

1.0.11

4 years ago

1.0.10

4 years ago

1.0.9

4 years ago

1.0.8

4 years ago

1.0.7

4 years ago

1.0.6

4 years ago

1.0.5

4 years ago

1.0.4

4 years ago

1.0.3

4 years ago

1.0.2

4 years ago