Serving as dynamic Table of Content, creating a clickable menu based on the headers of the paragraphs.

📚 Create Content > Blocks > Table of Contents (previously called Submenu)

Definition & Purpose

Use the Table of Contents block to insert text, media, and other content in an ordered list of clickable headings corresponding to the content sections on the page.

Allows users to locate and navigate to specific sections on the page quickly and efficiently.

Best practices

Styles

Once inserted, you will be able to choose which style (Long-Full, Short Full or Sidebar), assign a title (Optional) and determine which items will be presented bigger or smaller, according to the Size you determine.

Long full-width

Use: on long pages (more than 5 screens) when list items are long (+ 10 words)
No max items recommended.

Short full-width

Use: on long pages (more than 5 screens) when list items are short (up to 5 words)
No max items recommended.

Short sidebar

Use: on long pages (more than 5 screens) when list items are short (up to 10 words)
Max items recommended: 9


Edit block elements

  • KEY INFO > Heading sizes determine the parenting and ordering of the block, kind of the Google Doc “Table of Content“.

Design Elements

All design files of the block are available in the P4 Design Systems > Blocks > Table of Contents


Links & resources