The Table of Contents Component creates a ToC based on the titles in your page content allowing your readers to quickly navigate the page.
The Table of Contents component offers site visitors the ability to quickly navigate your page’s content through an efficiently-generated ToC based on the titles of the pages content.
The ToC is generated server side.
It is fully cached by the dispatcher for fast delivery.
It works with all components on the page, not just the Core Components.
The edit dialog allows the content author to define the range of titles to be used in the ToC. Using the design dialog, the template author can set the default value for the titles when a content author adds a Table of Contents Component to a page as well as restrict titles included in the ToC based on class names.
Version and Compatibility
The current version of the Table of Contents Component is v1, which was introduced with release 2.20.0 of the Core Components in May 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.