04
Content
- Labels are nouns, in sentence case: "Work email".
- Placeholders are examples, starting "e.g."; never instructions.
- Errors say how to fix it: "Enter an email like priya@acme.in."
A labelled text input: the default form row. A label always; a placeholder is only an example.
<input>Server-rendered01
02
field-label<label>Names the input. Always shown; "(optional)" when it is.input<div>The box: a filled surface with a bottom line.input-icon<svg>A leading icon, 16px, decorative.field-description<p>Help under the box; the error takes its place.03
04