Title Component
The Core Component Title Component is a section heading component that features in-place editing.
Usage
The Title Component is intended to be used as the title or heading of a section of content. The available heading levels can be defined by the template author in the design dialog. The content editor can select from available headings levels in the edit dialog. For added convenience, simple in-place editing of the heading text is also available.
Version and Compatibility
The current version of the Title Component is v3, which was introduced with release 2.18.0 of the Core Components in February 2022, and is described in this document.
The following table details all supported versions of the component, the AEM versions with which the versions of the component is compatible, and links to documentation for previous versions.
For more information about Core Component versions and releases, see the document Core Components Versions.
Sample Component Output
To experience the Title Component as well as see examples of its configuration options as well as HTML and JSON output, visit the Component Library.
Technical Details
The latest technical documentation about the Title Component can be found on GitHub.
Further details about developing Core Components can be found in the Core Components developer documentation.
Edit Dialog
The edit dialog allows the content author to define the title text as well as select the heading level.
-
Title - If empty the page title will be used
-
Type / Size - Defines the heading level of the title
-
Link - Defines the content to which the title will link. This can be a path to a content page, an external URL, or a page anchor.
-
Open link in new tab - When checked, the link will open in a new browser tab.
-
ID - This option allows to control the unique identifier of the component in the HTML and in the Data Layer.
- If left blank, a unique ID is automatically generated for you and can be found by inspecting the resulting page.
- If an ID is specified, it is the responsibility of the author to make sure that it is unique.
- Changing the ID can have an impact on CSS, JS and Data Layer tracking.
The in-place editor can also be used to edit the text of the title component.
Styles Tab
The Title Component supports the AEM Style System..
Use the drop-down to select the styles that you want to apply to the component. Selections made in the edit dialog have the same effect as those chosen from the component toolbar.
Styles must be configured for this component in the design dialog in order for the drop down menu to be available.
Design Dialog
The design dialog allows the template author to define the default heading level that title components will have when created by the content authors.
Sizes Tab
- Allowed Types / Sizes for Authors - Enable or disable heading types that will be available for content authors when they use the Title Component.
- Default Type / Size- Define the heading type that will be automatically assigned when a content author adds the Title Component to a page.
- Disable Link- Disable support for links in the title component to disallow content authors from linking from titles.
Styles Tab
The Title Component supports the AEM Style System.
Adobe Client Data Layer
The Title Component supports the Adobe Client Data Layer.