Intro

A label is the name or title of a control or group of related controls.

Usage

Use the label control if:

Do not use the label control if:

Types

Required Labels

To indicate that a field is mandatory, you can set the property “required”. An asterisk will be automatically set in front of the label.

Note: A colon is automatically set in front of the label when used in forms.

Mandatory label in a form

Mandatory label in a form

Guidelines

Exceptions

The layout can sometimes be simplified by using a placeholder instead of the label control. This exception can be applied in the following cases:

Resources

Want to dive deeper? Follow the links below to find out more about related controls, the SAPUI5 implementation, and the visual design.

Elements and Controls

Implementation

[internal_only]

  • Label (SAPUI5 samples)
  • Label (SAPUI5 API reference)

[/internal_only]

Visual Design

  • [internal_only]No links[/internal_only]