Table of contents
A table of contents can be used to display supplementary links to a page.
To import just this component into your project, copy the snippet below and include it in your main Sass file.
// import Vanilla and include base mixins // this only needs to happen once in a given project @import 'vanilla-framework/scss/vanilla'; @include vf-base; @include vf-p-table-of-contents; // list component is used within table of contents, so you need to include it as well @include vf-p-lists;
For more information see Customising Vanilla in your projects, which includes overrides and importing instructions.
For more information view the table of contents design spec, which includes the specification in markdown format and a PNG image.