Socket
Socket
Sign inDemoInstall

react-floating-label-wrapper

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-floating-label-wrapper

A Floating Label Wrapper Component, You can wrap your input component in it.


Version published
Maintainers
1
Created
Source

A Floating Label Wrapper Component, You can wrap your input component in it.

The component's behavior:

  • if wrapped component blurred
    • if no defaultValue or value, show placeholder
    • if not, show value.
  • if wrapped component get focus:
    • placeholder will float to left top corn of container. like the Material Float Label's behavior.

Install

npm i react-floating-label-wrapper

or

yarn add react-floating-label-wrapper

Docs

storybook docs

FAQs

Package last updated on 10 Nov 2021

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