Float Input

Input with floating label that animates on focus

import { FloatingLabelInput } from "@plexui/ui/components/FloatingLabelInput";

Examples

Overview

Filled state

With error message

Clear button

Disabled

Read only

All states

Empty
Filled
Invalid
Disabled
Read only

Password input

Password with visibility toggle

SSN input

Birthday input

Birthday with validation

Birthday states

Empty
Filled
Invalid
Disabled

About You form

Tell us about you

This helps us customize your experience.

By clicking “Continue”, you agree to our Terms and have read our Privacy Policy.

Country select

About You form with country

Tell us about you

This helps us customize your experience.

By clicking “Continue”, you agree to our Terms and have read our Privacy Policy.

Reference

PropTypeDefaultDescription
labelstringFloating label text
errorMessagestringValidation message below input; sets invalid state
disabledbooleanfalseDisable input interactions
invalidbooleanfalseInvalid visual state
readOnlybooleanfalseRead-only input state
onClear() => voidShows a clear button when input has value
endAdornmentReactNodeContent rendered after the input, before the clear button