Tabs, Anchors, Dropdowns
Tabs
Tabs help distinguish between different topics or sections of your documentation.
Anchors
Anchors are another way to section your content. They show up on top of your side navigation.
The configuration is very similar to the tab configuration. We highly recommend that you set an icon
field as well.
Valid icon values include all named Font Awesome and Lucide icons.
We recommend using anchors in the global settings of docs.json
to point to external links. For anchors used as the primary navigation structure, you can use pages
, openapi
, and groups
.
Dropdowns
Dropdowns show up in the same place as anchors, but are consolidated into a single dropdown. We also recommend that you set an icon for each dropdown item (from Font Awesome or Lucide).
Nested Hierarchy
You can use any combination of anchors, tabs, and dropdowns - either one can be nested within each other interchangeably.
Was this page helpful?