Skip to main content

Breadcrumb

<sc-breadcrumb></sc-breadcrumb>

This component let users create breadcrumb.

info

Breadcrumb components must be wrapped in the <sc-breadcrumbs></sc-breadcrumbs> component.

FirstSecondThird

Component Codex

Properties

PropertyDescriptionTypeDefault
hrefOptional URL to direct the user to when the breadcrumb item is activated. When set, a link will be rendered internally. When unset, a button will be rendered instead.string
relThe `rel` attribute to use on the link. Only used when `href` is set.string'noreferrer noopener'
targetTells the browser where to open the link. Only used when `href` is set."_blank" | "_parent" | "_self" | "_top"

Shadow Parts

PartDescription
baseThe elements base wrapper.
labelThe label.
prefixThe prefix item.
separatorThe separator.
suffixThe suffix item.