Visible Header A header for table of contents can be created by passing plain text into the header prop. Demo
Twig
{% include '@bolt-components-toc/toc.twig' with {
  header: 'This is the header',
  items: [
    {
      text: 'Section One',
      url: '#section-one',
    },
    {
      text: 'Section Two',
      url: '#section-two',
    },
    {
      text: 'Section Three',
      url: '#section-three',
    },
  ]
} only %}
HTML
<div class="c-bolt-toc-wrapper">
  <bolt-toc header="This is the header">
    <bolt-toc-item url="#section-one">
      Section One
    </bolt-toc-item>
    <bolt-toc-item url="#section-two">
      Section Two
    </bolt-toc-item>
    <bolt-toc-item url="#section-three">
      Section Three
    </bolt-toc-item>
  </bolt-toc>
</div>