Schema
Breadcrumb Schema
On this page
Schema.org Breadcrumb
- Type:
defineBreadcrumb<T extends Record<string, any>>(input?: BreadcrumbList & T)
Describes aBreadcrumbListon a WebPage.
Useful Links
Required properties
- itemListElement
An array ofListItemobjects, representing the position of the current page in the site hierarchy.
Examples
Minimal
defineBreadcrumb({
itemListElement: [
{ name: 'Home', item: '/' },
{ name: 'Blog', item: '/blog' },
{ name: 'My Article' },
],
})
Defaults
- @type:
BreadcrumbList - @id:
${canonicalUrl}#breadcrumb
Relation Transforms
- sets default
breadcrumbto this node
Resolves
itemListElement.positionis computed for each list element
Types
/**
* A BreadcrumbList is an ItemList consisting of a chain of linked Web pages,
* typically described using at least their URL and their name, and typically ending with the current page.
*/
export interface BreadcrumbSimple extends ItemList {
'@type'?: 'BreadcrumbList'
}
Related Schemas
Did this page help you?