Text field UI examples
How real apps design text fields and inputs: labels, placeholders, focus states, helper text and errors. Also called text input.
- 01
Label above, inside or as a placeholder
- 02
How the focused field is highlighted
- 03
How errors and helper text appear
- 04
Which keyboard opens for each field
What makes a good text field
A good text field keeps its label visible while typing and explains errors right below it.
Compare filled and outlined styles, floating labels and inline validation across apps.
Questions
What is a text field?
A box where people type text, such as a name, email or message. It's also called a text input.
Placeholder or label?
Use a visible label. Placeholders disappear when people type, so they shouldn't replace labels.
How do I build text fields in React Native or HTML?
React Native uses TextInput; HTML uses input and textarea. Use these screens as visual reference for labels, states and errors.









