Mídia1.gif

Overview

We present to you a modern and stylish input: the Floating Label Input.

When you focus this input or when its value changes, the label within it undergoes a slight animation, moving it to the top, parallel to the top border of the input. This avoids the use of text elements as labels and improves the user experience (UX).

Key Features

How It Works

Validation Logic

You define the content type as Text, Email, Password, Integer, Decimal, Date, Euro date, or Brazilian CPF.

If the content type is email, date, or Brazilian CPF, the plugin will check if the content is valid. If yes, it changes the exposed state "valid" to "yes". If not, it changes to "no".

Color System

When the input is changed, focused, or when the value is valid, the success color is applied. When the value is invalid, the error color is applied.

Usage Instructions

It's very simple to use: