Title Component (v2) title-component
The Core Component Title Component is a section heading component that features in-place editing.
Usage 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 version-and-compatibility
This document describes v2 of the Title Component, which was introduced with release 2.0.0 of the Core Components in January 2018.
Sample Component Output 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 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 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.
-
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.
Design Dialog 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 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 styles-tab
The Title Component supports the AEM Style System.
Adobe Client Data Layer data-layer
The Title Component supports the Adobe Client Data Layer.