ÃÛ¶¹ÊÓƵ

Title Component (v1) title-component-v

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 v1 of the Title Component, originally introduced with release 1.0.0 of the Core Components with AEM 6.3.

The following table lists the compatibility of v1 of the Title Component.

AEM Version
Title Component v1
6.3
Compatible
6.4
Compatible
CAUTION
This document describes version 1 of the Title Component.
For details of the current version of the Title Component, see the Title Component document.

Sample Component Output sample-component-output

The following is sample taken from .

Screenshot screenshot

HTML html

<div class="cmp cmp-title aem-GridColumn aem-GridColumn--default--12">
     <h2>Welcome! This is our finest equipment!</h2>
</div>

JSON json

"title": {
              "columnClassNames": "aem-GridColumn aem-GridColumn--default--12",
              ":type": "weretail/components/content/title",
              "jcr:title": "Welcome! This is our finest equipment!",
              "type": "h2"
            }
NOTE
JSON export from the Core Components requires release 1.1.0 of the Core Components. Please see the compatibility information for Core Components v1 for more information.

Edit Dialog edit-dialog

The edit dialog allows the content author to define the title text as well as select the heading level.

NOTE
An empty value for the title will cause the page title to be displayed.

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.

Technical Details technical-details

The latest technical documentation about the Title Component .

The entire core components project can be downloaded from GitHub.

Further details about developing Core Components can be found in the Core Components developer documentation.

recommendation-more-help
d2be9096-a81e-404b-9952-d8925af7219c