Input components include both required and optional bits of text that help guide users in their use.

Labels

Labels are used to identify both fields and options for some input components. Labels should:

Helper Text

Helper text appears above or below an input to clarify its purpose, format, or syntax. Helper text is often replaced by error messaging when validation fails, so it shouldn’t contain vital information that'll be lost if this happens.

Helper text should:

<aside> 📌 TODO: Talk to @Shannon Lewis about updated usage examples

</aside>

Placeholder Text and Defaults

Inputs like Text Fields may contain ghosted text that's overwritten when the user begins typing in the input field. Placeholder text always clarifies what input is expected; for example, illustrating a particular format such as a date or phone number.

Placeholders should: