Search...

Breadcrumb

Contrast Angular Bootstrap Breadcrumb

Contrast Angular Bootstrap Breadcrumb reveals the user’s location in a website or web application. It's a navigational component that allows website visitors or web application users to track their current location and previous navigated page(s).

Importing the Contrast Angular Bootstrap Breadcrumb Module

To use the Contrast Angular Bootstrap Breadcrumb component in your project you need to import BreadcrumbModule.

ts
import {BreadcrumbModule } from 'cdbangular';

Default Breadcrumb

Angular Bootstrap Breadcrumb

HTML
html
<CDBBreadcrumb color="none">
<li class="breadcrumb-item">
<CDBLink class="p-0" to="/breadcrumb">Home</CDBLink>
</li>
<li class="breadcrumb-item">
<CDBLink class="p-0" to="/breadcrumb">Library</CDBLink>
</li>
<li class="breadcrumb-item active">Data</li>
</CDBBreadcrumb>
<CDBBreadcrumb color="none">
<li class="breadcrumb-item">
<CDBLink class="p-0" to="/breadcrumb">Home</CDBLink>
</li>
<li class="breadcrumb-item active">Library</li>
</CDBBreadcrumb>
<CDBBreadcrumb color="none">
<li class="breadcrumb-item active">Home</li>
</CDBBreadcrumb>

Angular Bootstrap Breadcrumb with Icons

HTNL
html
<CDBBreadcrumb color="none" class="align-items-center">
<li class="breadcrumb-item">
<CDBLink class="p-0" to="/breadcrumb">Home</CDBLink>
</li>
<CDBIcon class="mx-2 text-muted" [fas]=true icon="angle-double-right"></CDBIcon>
<li class="breadcrumb-item">
<CDBLink class="p-0" to="/breadcrumb">Library</CDBLink>
</li>
<CDBIcon class="mx-2 text-muted" [fas]=true icon="angle-double-right"></CDBIcon>
<li class="breadcrumb-item active">Data</li>
</CDBBreadcrumb>
<CDBBreadcrumb color="none" class="align-items-center">
<li class="breadcrumb-item">
<CDBLink class="p-0" to="/breadcrumb">Home</CDBLink>
</li>
<CDBIcon class="mx-2 text-muted" [fas]=true icon="angle-double-right"></CDBIcon>
<li class="breadcrumb-item active">Library</li>
</CDBBreadcrumb>
<CDBBreadcrumb color="none">
<li class="breadcrumb-item active">Home</li>
</CDBBreadcrumb>

Angular Bootstrap Breadcrumb with colors

HTML
html
<CDBBreadcrumb color="dark" class="align-items-center text-white">
<li class="breadcrumb-item">
<CDBLink class="p-0 text-white" to="/breadcrumb">Home</CDBLink>
</li>
<CDBIcon class="mx-2 text-muted" [fas]=true icon="angle-double-right"></CDBIcon>
<li class="breadcrumb-item">
<CDBLink class="p-0 text-white" to="/breadcrumb">Library</CDBLink>
</li>
<CDBIcon class="mx-2 text-muted" [fas]=true icon="angle-double-right"></CDBIcon>
<li class="breadcrumb-item">Data</li>
</CDBBreadcrumb>
<CDBBreadcrumb class="align-items-center">
<li class="breadcrumb-item">
<CDBLink class="p-0 text-white" to="/breadcrumb">Home</CDBLink>
</li>
<CDBIcon class="mx-2 text-muted" [fas]=true icon="angle-double-right"></CDBIcon>
<li class="breadcrumb-item">Library</li>
</CDBBreadcrumb>
<CDBBreadcrumb color="info">
<li class="breadcrumb-item">Home</li>
</CDBBreadcrumb>

API Reference: Contrast Angular Bootstrap Breadcrumb Props

This section will build on your information about the props you get to use with the Contrast Angular Bootstrap Breadcrumb component. You will find out what these props do, their default values, and how you would use them in your code.

The table below lists other prop options of the CDBBreadcrumb component.

NameTypeDefaultDescriptionExample
classStringAdds custom classesclass="myClass"
colorStringprimaryDetermines breadcrumb background color, accepts CDB predefined color classes: primary secondary success danger warning info light darkcolor="primary"
lightBooleanfalseSets font color to whitecolor="dark" light=true
uppercaseBooleanfalseTransforms breadcrumbs text to uppercasecolor="secondary" uppercase=true

Build modern projects using Bootstrap 5 and Contrast

Trying to create components and pages for a web app or website from scratch while maintaining a modern User interface can be very tedious. This is why we created Contrast, to help drastically reduce the amount of time we spend doing that. so we can focus on building some other aspects of the project.

Contrast Bootstrap PRO consists of a Premium UI Kit Library featuring over 10000+ component variants. Which even comes bundled together with its own admin template comprising of 5 admin dashboards and 23+ additional admin and multipurpose pages for building almost any type of website or web app.
See a demo and learn more about Contrast Bootstrap Pro by clicking here.