Skip to main content

Breadcrumb

Use cases:

  • Breadcrumb trail navigation.

Example

Breadcrumb item 1Breadcrumb item 2Breadcrumb item 3

Declaration

<rapid-breadcrumb>
<rapid-breadcrumb-item href="#">Breadcrumb item 1</rapid-breadcrumb-item>
<rapid-breadcrumb-item href="#">Breadcrumb item 2</rapid-breadcrumb-item>
<rapid-breadcrumb-item>Breadcrumb item 3</rapid-breadcrumb-item>
</rapid-breadcrumb>

Usage

@customElement({
name: 'my-element',
template: html`
<rapid-breadcrumb>
<rapid-breadcrumb-item href="#">Breadcrumb item 1</rapid-breadcrumb-item>
<rapid-breadcrumb-item href="#">Breadcrumb item 2</rapid-breadcrumb-item>
<rapid-breadcrumb-item>Breadcrumb item 3</rapid-breadcrumb-item>
</rapid-breadcrumb>
`,
})
export class MyElement extends GenesisElement {
}

Property and attribute binding examples for Genesis Component syntax. Closing tag omitted.

Attributes

This component doesn't have any attributes.

Properties

This component doesn't have any properties.

Slots

NameDescription
DefaultContainer for breadcrumb-items

Parts

PartDescription
listThe list of all the breadcrumb items

Events fired

This component doesn't fire any events.

Events listened to

This component doesn't listen to any events.

Property and attribute binding examples for Genesis Component syntax. Closing tag omitted.

Attributes

NameTypeDescriptionExample
hrefstringThe hyperlink text.
<rapid-breadcrumb-item href="someLink">

Properties

This component doesn't have any properties.

Slots

SlotDescription
separatorUsed to change the separator between the breadcrumb items.

Parts

PartDescription
listItemThe breadcrumb item container

Events fired

This component doesn't fire any events.

Events listened to

This component doesn't listen to any events.