Edit page

Breadcrumbs

Breadcrumbs are a set of links or labels used for navigation and context.

Import Syntax

Basic Usage

Custom Divider Character

dividerCharacter="»"

Props

PropertyTypeRequiredDefaultDescription
dividerCharacterNodefalse/The character used as a divider between Crumbs
childrenNodefalse-Crumb components to be rendered within Breadcrumbs.
whiteBoolfalse-Color modifier for the Breadcrumbs.

Crumb

PropertyTypeRequiredDefaultDescription
childrenNodefalse-Text content of the Breadcrumb.
whiteBoolfalse-Boolean to toggle the light style for Breadcrumbs.
hrefStringfalse-href html prop
dividerCharacterNodefalse-The character used as a divider between Crumbs; by default it will inherit the parent Breadcrumbs dividerCharacter
hasLinkBoolfalse-Use hasLink as a way to maintain the calcite link styles when no href is given (useful when using a Crumb with an outside routing library).