Floating Label Input
A form input where the visible label shrinks and translates up on focus, on value presence, and on autofill — keeping the label accessible and never collapsing to a placeholder-only state.
A form input where the visible label shrinks and translates up on focus, on value presence, and on autofill — keeping the label accessible and never collapsing to a placeholder-only state.
Form / floating label / accessibility
Reimplements three floating-label flavors where the label is always visible and shifts into a compact caption on focus or when the field carries a value, driven by :placeholder-shown.
Material-style outline notch
A bordered input where the label rests inside the box at rest and floats up to notch the top border on focus or when the field has a value.
Subtle fill with bottom line
A filled surface with a thicker bottom border animates the label upward while the fill color and border react to the focus state.
Minimal single underline
An underline-only field where the label floats high and the baseline underline grows from the focal point to signal focus.