Skip to content

Breadcrumb

A collection of links for navigating websites. Breadcrumbs are typically placed at the top of a page and provide a trail back to the homepage or parent page.

Import

Terminal window
import { Breadcrumb } from "@aeonkit/react";

Usage

Default

The Breadcrumb component is used to wrap the Breadcrumb.Item components. The Breadcrumb.Item component is used to represent each item in the breadcrumb. The isCurrentPage prop is used to indicate the current page.

  1. Home
  2. About
  3. Contact

Custom Separator

The separator prop can be used to customize the separator between breadcrumb items.

  1. Home
  2. About
  3. Contact

Custom Home Icon

  1. About
  2. Contact

Props

separator?

ReactElement<IconType>

The separator between breadcrumb items.

API Interface: BreadcrumbProps