Field

Combination of a label and an Input area where users can enter or select data, such as text input or dropdowns

Image of two fields: dropdown and input.

Example of two fields

 

Anatomy

Fields are made up of two Delish components put together: Label and Input/Dropdown/Textarea.

  1. Label: clear and concise text giving the user insight into the content
  2. Helper text: optional text to help guide user on what’s expected
  3. Input, Dropdown or Textarea: holds options, selected value(s) of user or text input
  4. Error text: required text when there is an error on the field
Image of accordion for anatomy

Visual reference for anatomy

 

 

Variants

There are 5 variants of the component: input, dropdown, textarea, error and helper text.

  • Text input: users can enter text or data to provide information; primarily shorter in nature
  • Dropdown: users can select a single or multiple options from a list of options
  • Textarea: users can enter text or data to provide information; primarily longer in nature
  • Error: if user misses a required field or enters the wrong information
  • Helper text: optional text to help guide user on what’s expected
Image of field variants

Visual of field variants

 

 

 


Designer resources