Text input

A 40px field on newsprint with no border. Focus draws a thin black border.

Search, beside a content switcher

A search field leads with a magnifying glass; type="search" is all it needs. Without a visible label, give the field an aria-label. At 40px it matches a medium content switcher.

Parts

PartMarkupLook
Field.sys-field, a <label> around the partsStacked, 6px apart
Label.sys-field__label13px caps label
Inputinput.sys-input or textarea.sys-input40px tall (textarea 112px and up), newsprint, no border; thin black border on focus; 16px body
Searchinput.sys-input with type="search"Leads with a 16px magnifying glass, 12px in; the text starts after it
Help.sys-field__help (optional)14px, muted
Erroraria-invalid="true" on the input, .sys-field__error after itA thin magenta rule around the field, kept on focus; the message under it in bold magenta

Stipulations