Breadcrumb

The navigation component at the top of screen

A hook for implementing Breadcrumb in your documentation, it returns the path to a page based on the given page tree.

If present, the index page of a folder will be used as the item

Usage

it exports a useBreadcrumb hook:

import {  } from 'next/navigation';
import {  } from 'fumadocs-core/breadcrumb';
 
const  = ();
const 
const items: BreadcrumbItem[]
items
= (, );
PropTypeDefault
name
ReactNode
-
url
string
-
Edit on GitHub

Last updated on

On this page