Basic

A standard outlined text field with a clean border and comfortable spacing.

Text field
Density

Use compact density to reduce vertical space without changing the overall structure.

Text field
Variant

Use Solo, Outlined, Underlined, Filled, and Plain variants to change the appearance of the field.

Solo
Outlined
Underlined
Filled
Plain
State

Disabled and readonly states keep the same layout while reducing interactivity.

Disabled
Hint text
Readonly
Hint text
Counter

A counter helps track the current length against the maximum allowed characters.

Username
11 / 20
Clearable

Clearable text fields expose a quick action for resetting the current value.

Search
Custom Colors

Border and focus colors can be adjusted per field when a different emphasis is needed.

Primary
Success
Icons

Prepend and append icons help frame common search and notification patterns.

Search
Notifications
Prefixes and suffixes

Affixes are useful for IDs, currencies, and other fixed units.

Prefix
ID
Suffix
USD
Single line

Single-line input keeps the text constrained to one row.

Single line
Validation

Validation feedback should sit near the field and remain easy to scan.

Email
Icon events

Interactive icons can trigger actions without leaving the field context.

Search
Label Slot

Helper copy can sit under the field without interrupting the label.

Name
Label slot can use supplemental helper copy.
Password input

Password fields can expose a visibility toggle while preserving the same shell.

Password
Icon slots

Slots can host icons on both sides of the input for denser compositions.

Icon slots
Lock icon
Floating label

Floating labels stay inside the field until the field is focused or filled, similar to the Valex floating-label pattern.