🌐
npm
npmjs.com › package › react-floating-label-input
react-floating-label-input - npm
October 1, 2021 - import React from 'react'; import FloatingLabelInput from 'react-floating-label-input'; export default ({ onChange, value }) => <div style={{ fontSize: 64 }}> <FloatingLabelInput id="example-3" label="label" onBlur={action('onBlur')} onChange={action('onChange')} onFocus={action('onFocus')} value={value} /> </div>;
      » npm install react-floating-label-input
    
Published: Oct 01, 2021
Version: 4.3.4
Author: Cymen Vig
🌐
GitHub
github.com › vadimdemedes › react-floating-label-input
GitHub - vadimdemedes/react-floating-label-input: Floating-label input component for React · GitHub
var Input = require('react-floating-label-input'); React.render(<Input label="Email address" />, document.body); React.render(<Input label="Password" type="password" />, document.body); React.render(<Input label="Custom field" className="my...
Starred by 4 users
Forked by 3 users
Languages: HTML 45.4% | JavaScript 33.8% | CSS 19.2% | Makefile 1.6%
🌐
DEV Community
dev.to › rafacdomin › creating-floating-label-placeholder-for-input-with-reactjs-4m1f
Creating Floating Label/Placeholder for Input with ReactJS - DEV Community
August 19, 2020 - Now we add position absolute to our label and a transform to center our label, as if it were a placeholder for our input: #float-label label { ...
🌐
CoreUI
coreui.io › react › documentation › forms › floating labels
React Floating labels - CoreUI
March 3, 2026 - A placeholder is required on each ... the same form control by wrapping a pair of <CFormInput> and <CFormLabel> elements in <CFormFloating> to enable floating labels with textual form fields....
🌐
Max Schmitt
maxschmitt.me › posts › material-design-floating-labels-in-react
React: Implementing Material Design's Floating Labels – Max Schmitt
September 4, 2021 - When the input is empty, the label will float over the actual text input, exactly in the same position where any user input would appear. When the text input has a value, we will move the label up and out of the way while also scaling it down a bit.
🌐
npm
npmjs.com › package › react-native-floating-label-input
react-native-floating-label-input - npm
November 4, 2023 - This is a React-Native TextInput component, containing a floating placeholder, visible even after filled in, that you can freely modify its styles 💅🎉
      » npm install react-native-floating-label-input
    
Published: Nov 04, 2023
Version: 1.4.3
🌐
Flowbite React
flowbite-react.com › docs › forms › floating-label
React Floating Label - Flowbite
import { FloatingLabel } from "flowbite-react"; export function Component() { return ( <div className="grid grid-flow-col justify-stretch space-x-4"> <FloatingLabel variant="filled" label="Label" /> <FloatingLabel variant="outlined" label="Label" /> <FloatingLabel variant="standard" label="Label" /> </div> ); } Apply the disabled attribute to the input fields to disallow the user from changing the content.
🌐
React Bootstrap
react-bootstrap.netlify.app › floating labels
Floating labels | React Bootstrap
Other than <Form.Control>, floating labels are only available on <Form.Select>s. They work in the same way, but unlike <input>s, they’ll always show the <label> in its floated state.
🌐
GitHub
github.com › cymen › react-floating-label-input
GitHub - cymen/react-floating-label-input: A floating label input component for React
December 1, 2017 - import React from 'react'; import FloatingLabelInput from 'react-floating-label-input'; export default ({ onChange, value }) => <div style={{ fontSize: 64 }}> <FloatingLabelInput id="example-3" label="label" onBlur={action('onBlur')} onChange={action('onChange')} onFocus={action('onFocus')} value={value} /> </div>;
Starred by 18 users
Forked by 10 users
Languages: HTML 46.2% | JavaScript 38.0% | CSS 15.8% | HTML 46.2% | JavaScript 38.0% | CSS 15.8%
Find elsewhere
🌐
GitHub
github.com › Dagic-zewdu › react-native-floating-label-inputs
GitHub - Dagic-zewdu/react-native-floating-label-inputs: A customizable React Native TextInput with its placeholder always shown. Includes container, input styles, error handling, and a bunch else. · GitHub
The label will float up a certain range (specified by the "floatUpRange" prop) as the user types. The "containerStyle" prop that sets the height of the container element, and an "inputStyle" prop that sets the height of the input field itself. ...
Author: Dagic-zewdu
🌐
Jacob Ruiz
jacobruiz.com › blog › 2021 › 2 › 11 › how-to-transition-placeholder-text-into-a-label-in-react-floating-label-inputs
How to transition placeholder text into a label in React (Floating label inputs) — Jacob Ruiz
February 12, 2021 - But for our use case, we want the label to be in two positions depending on the interaction state: Empty state: Sitting in the middle of the input field, acting as placeholder text · Filled/typing state: Pinned to the top left corner of the input field, acting as a label.
🌐
GitHub
github.com › code-kotis › react-floating-label
GitHub - code-kotis/react-floating-label: A material design styled floating label input. · GitHub
Floating label input. ... var FloatingLabel = require('react-floating-label'); <FloatingLabel errorMsg='Full name can contain only the alphabets and space' pattern={/^[a-z\s]+$/i}/>
Starred by 39 users
Forked by 17 users
Languages: CSS 54.4% | JavaScript 45.6%
🌐
GitHub
github.com › mike-engel › floating-label-react
GitHub - mike-engel/floating-label-react: A floating-label component using react without any dependencies
This react component exists to provide a simple API for floating label inputs in react, while still being fully customizeable.
Starred by 25 users
Forked by 8 users
Languages: CSS 51.0% | JavaScript 28.1% | TypeScript 20.9% | CSS 51.0% | JavaScript 28.1% | TypeScript 20.9%
🌐
npm
npmjs.com › package › floating-label-react
floating-label-react - npm
This react component exists to provide a simple API for floating label inputs in react, while still being fully customizeable.
      » npm install floating-label-react
    
Published: Aug 30, 2020
Version: 1.0.3
Author: Mike Engel
🌐
CodeSandbox
codesandbox.io › examples › package › react-floating-label-input
react-floating-label-input examples - CodeSandbox
Use this online react-floating-label-input playground to view and fork react-floating-label-input example apps and templates on CodeSandbox.
🌐
DEV Community
dev.to › diran_adeola › how-to-create-a-floating-label-input-with-css-in-js-and-react-19gd
How to create a floating label input with css-in-js and react - DEV Community
February 18, 2021 - To fix the error as noticed above, we’ll be doing so in reactjs as follow: Firstly we create a state using useState hooks as shown below · Next we add another state to manage the text inputted · Next we add a function handler on input onChange to toggle our JSS active which we haven’t yet written. ... Remember there are always a better way to achieve this and if you do have a better way, please i would love to see it. Thanks · Based on Creating Floating Label/Placeholder for Input with ReactJS - DEV Community 👩‍💻👨‍💻
🌐
GitHub
github.com › Cnilton › react-native-floating-label-input
GitHub - Cnilton/react-native-floating-label-input: A customizable React Native TextInput with its placeholder always shown. Includes masks, global styles, character count, and a bunch else.
December 6, 2019 - This is a React-Native TextInput component, containing a floating placeholder, visible even after filled in, that you can freely modify its styles 💅🎉
Starred by 334 users
Forked by 63 users
Languages: TypeScript 62.0% | Java 17.4% | Objective-C 11.8% | Ruby 3.9% | JavaScript 3.3% | Starlark 1.6% | TypeScript 62.0% | Java 17.4% | Objective-C 11.8% | Ruby 3.9% | JavaScript 3.3% | Starlark 1.6%
🌐
Medium
medium.com › @Franklivania › creating-form-with-floating-label-react-js-sass-937c9bfbe3c8
Creating Form with floating label React.js + SASS | by Chibuzo Franklin Odigbo | Medium
July 15, 2023 - It comes from a heart of massive relief when I say I am finally posting this, cos I have cracked it (my own way). Before this, I had tried multiple forms to be able to get a functional react form input with a label that floats and stays in place when there is value in the input tag.
🌐
Lightswind UI
lightswind.com › components › floating-label-input
React Floating Label Input Component - Lightswind UI
Text field featuring mathematical label transforms and underline animations. The label floats above the input with smooth CSS transform on focus/fill.
🌐
Made with React.js
madewithreactjs.com › react-floating-label-paper-input
Floating Label Paper Input - Form Elements with Floating Labels - Made with React.js
June 6, 2019 - "react-floating-label-paper-input provides you with a material design textbox, selectbox and input mask with floating labels, and also supports error message handling."