Command Palette

Search for a command to run...

Docs
Breadcrumb Separator

Breadcrumb Separator

Breadcrumb navigation with customizable separators (chevron, slash, dot, arrow, dash).

Installation

Usage

import BreadcrumbSeparator from "@/components/ruixen/breadcrumb-separator";
 
const items = [
  { label: "Home", href: "/" },
  { label: "Products", href: "/products" },
  { label: "Electronics" },
];
 
export default function MyBreadcrumb() {
  return <BreadcrumbSeparator items={items} separator="slash" />;
}

Props

PropTypeDefaultDescription
itemsBreadcrumbItem[]-Array of breadcrumb items
separator"chevron" | "slash" | "dot" | "arrow" | "dash""chevron"Separator style
classNamestring-Additional CSS classes
PropertyTypeDescription
labelstringDisplay text for the item
hrefstringOptional link URL

Separator Styles

StylePreview
chevron>
slash/
dot·
arrow
dash