Lemma
No. 071

UX Design

Placeholder

A placeholder is the faint hint text inside an input field that disappears the moment someone starts typing. It usually shows an example of the expected value or a short prompt.

Why it matters

Placeholders are tempting to use as labels, but they vanish exactly when a person needs the reminder most — while filling in the field. Relying on them can leave users guessing what a half-completed form was asking for.

In depth

A placeholder cannot replace a visible label, because by the time the field has content the hint is no longer there to confirm what it holds. The faint default styling also tends to fail contrast requirements, making it hard to read. Use a persistent label for what the field is, and reserve the placeholder for an optional example of the format.

Real-world example

A search box showing "Search by name or email" in grey text is a placeholder; once you type a single letter, that guidance is gone.

Try it
Back to index