react-input-hints

3.0.0 • Public • Published
react-input-hints

Animates input placeholders to make it look like they are being typed in realtime.

Build Status

Usage

<InputHints
    placeholders={[
        'Enter your username here...',
        'Usernames can be 7-18 characters long.',
    ]} />
)

Installation

$ npm install react-input-hints
# or 
$ yarn add react-input-hints

Props

See react-typewriting for more controls.

placeholders | Array<string> | required

The placeholders to print out, in order of appearance.

Tips

Use the selector:placeholder CSS pseudo-class to style your placeholders!

License

Licensed under the MIT license.

Authors

William Boman william@redwill.se

Package Sidebar

Install

npm i react-input-hints

Weekly Downloads

46

Version

3.0.0

License

MIT

Last publish

Collaborators

  • williamboman