Intro

The title control is a simple, one-line text containing additional semantic information for accessibility purposes.

The difference between a title and a manually styled heading is that the title can be used by assistive technologies such as screen readers to create a hierarchical site map for faster navigation.

The title is used, for example, by panel, toolbar, or list components.

Table with title in toolbar and header

Table with title in toolbar and header

Usage

Use the title if:

Do not use the title if:

Responsiveness

Long titles can become truncated if the screen is smaller than the entire title.

A long title that is truncated on small screens

A long title that is truncated on small screens

Styles

The actual appearance of the title and the different styles always depends on the theme being used.

The semantic level of the title can be set automatically or explicitly. With the automatic setting (property: level, value: Auto) no explicit level information is written (HTML5 header element). If you want to set it explicitly, use an HTML H1-H6 element (property: level, value: H1-H6).

The level (property: level, value: Auto, H1-H6) and title style (property: titleStyle, value: Auto, H1-H6) can be set independently.

Title with default level and style (H1)

Title with default level and style (H1)

Title with level H1 and default style

Title with level H1 and default style

Title with level H2 and default style

Title with level H2 and default style

Title with level H3 and default style

Title with level H3 and default style

Title with level H4 and default style

Title with level H4 and default style

Title with level H5 and default style

Title with level H5 and default style

Title with level H6 and default style

Title with level H6 and default style

Properties

The following properties are available:

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

  • Title (SAPUI5 samples)
  • Title (SAPUI5 API reference)

Visual Design