NavigationLinks

A list of links displayed in the NavigationTree.

This component is used internally by the NavigationTree, it's unlikely you'll need to use it directly.

Usage

<script setup>
const links = [ {
  label: 'DocsSearch',
  to: '/pro/components/docs/docs-search',
  icon: 'i-heroicons-document-magnifying-glass'
}, {
  label: 'DocsSearchButton',
  to: '/pro/components/docs/docs-search-button',
  icon: 'i-heroicons-magnifying-glass',
  badge: 'New'
}, {
  label: 'DocsSurround',
  to: '/pro/components/docs/docs-surround',
  icon: 'i-heroicons-arrows-right-left'
}, {
  label: 'DocsToc',
  to: '/pro/components/docs/docs-toc',
  icon: 'i-heroicons-list-bullet'
}]
</script>

<template>
  <UNavigationLinks :links="links" />
</template>

Slots

badge
{}

Props

ui
{}
{}
links
Link[]
[]
level
number
0