Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

react-floating-label-smtx

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-floating-label-smtx

A material design styled floating label input using react.js

  • 1.0.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
0
decreased by-100%
Maintainers
1
Weekly downloads
 
Created
Source

react-floating-label

Floating label input.

Checkout the DEMO

Install it:

npm install --save react-floating-label

Usage:

var FloatingLabel = require('react-floating-label');

<FloatingLabel
	errorMsg='Full name can contain only the alphabets and space'
	pattern={/^[a-z\s]+$/i}/>

Props:

autoComplete: PropTypes.bool,
errorMsg: PropTypes.string,
placeholder: PropTypes.string.isRequired,
pattern: PropTypes.any,
type: PropTypes.string.isRequired,
id: PropTypes.string.isRequired,
isDisabled: PropTypes.bool

Building and running:

Lifecycle scripts included in react-floating-label:
  start
    ecstatic -p 8000 public

available via `npm run-script`:
  build-js
    NODE_ENV=production browserify main.js | uglifyjs -cm > public/bundle.js
  build-css
    cat master.css > public/bundle.css
  build
    npm run build-js && npm run build-css
  watch-js
    watchify main.js -o public/bundle.js -dv
  watch-css
    catw master.css -o public/bundle.css -v
  watch
    npm run watch-js & npm run watch-css

License:

MIT

FAQs

Package last updated on 17 Nov 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc