Command Palette

Search for a command to run...

Docs
Breadcrumb Boxed

Breadcrumb Boxed

Breadcrumb navigation wrapped in a styled container with multiple variants.

Installation

Usage

import BreadcrumbBoxed from "@/components/ruixen/breadcrumb-boxed";
 
const items = [
  { label: "Home", href: "/" },
  { label: "Components", href: "/components" },
  { label: "Breadcrumb" },
];
 
export default function MyBreadcrumb() {
  return <BreadcrumbBoxed items={items} variant="filled" rounded="full" />;
}

Props

PropTypeDefaultDescription
itemsBreadcrumbBoxedItem[]-Array of breadcrumb items
variant"default" | "filled" | "outline" | "ghost""default"Container style variant
showHomeIconbooleantrueShow home icon on first item
rounded"sm" | "md" | "lg" | "full""lg"Border radius style
classNamestring-Additional CSS classes
PropertyTypeDescription
labelstringDisplay text for the item
hrefstringOptional link URL

Variants

VariantDescription
defaultBorder with background and shadow
filledMuted background fill
outlineBorder only, no background
ghostSubtle muted background