Label

Indicates whether a field is mandatory and provides clear instructions about what information is required from the user

How they help

Labels in a UI help users by clearly identifying and describing elements such as buttons or fields, making the interface more intuitive and easier to understand. They provide context and guidance, ensuring users know the purpose and function of each element, which improves usability and efficiency. Well-chosen labels enhance the overall user experience by reducing confusion and enabling users to interact with the interface more confidently and effectively.

Image of three different types of label options: required, optional and with info button

Example of label options

 

 

Anatomy

  1. Required asterisk: signifies that this field is required for user to input
  2. Label text: clear and concise text giving the user insight into the content
  3. Optional: use this if a field is optional
  4. Info button: add if you have additional context for user to see
Image of checkbox for anatomy

Visual reference for anatomy

 

 

Variants

Delish has 4 variants of the component: text only, required, optional and with info button.

  • Required: use this variant if a field is mandatory
  • Optional: use this variant if a field is not required
  • With info button: if you have additional context for the user
Image of the 4 variants of a label

Visual of label variants

 

 

 


Designer resources