Table of Contents▼
Category List
The category-list component displays a list of categories related to the current page.
It is designed to be placed at the end of a documentation page to help users discover related topics.
Basic Usage
::category-list
---
items:
- label: "Getting Started"
to: "/categories/getting-started"
- label: "Components"
to: "/categories/components"
- label: "Guides"
to: "/categories/guides"
---
::
Result:
Without Links
Categories can also be displayed without navigation.
::category-list
---
items:
- label: "Documentation"
- label: "Reference"
---
::
Result:
Categories:Documentation|Reference
Multiple Categories
You can add as many categories as needed.
::category-list
---
items:
- label: "Nuxt"
to: "/categories/nuxt"
- label: "Markdown"
to: "/categories/markdown"
- label: "MDC"
to: "/categories/mdc"
---
::
Result:
Recommended Placement
Category lists are usually placed at the end of a documentation page after the main content.
Example:
# Documentation Page
Main content goes here.
---
::category-list
---
items:
- label: "Components"
to: "/components"
- label: "Guides"
to: "/guides"
---
::
Table of Contents