Breadcrumb

Composable breadcrumb trail with a hover underline that slides in from the left, links that render through your router via a render prop, and a data-driven items mode whose maxItems collapse folds middle crumbs into an ellipsis that either expands them inline with a spring layout reflow or opens a small keyboard-navigable menu.

Preview

Breadcrumb preview width

Install

Add it with the shadcn CLI, or copy the source manually.

$ bunx --bun shadcn add @karaui/breadcrumb
@karaui not found? Add it to components.json
{
  "registries": {
    "@karaui": "https://karaui.kamisama-v0.my.id/r/{name}.json"
  }
}

@karaui is in shadcn's public registry directory, so the latest CLI needs no setup. On an older CLI, merge this into the existing file once and every @karaui/… install resolves.

API Reference

Breadcrumb

className?
string
—

BreadcrumbList

className?
string
—

BreadcrumbItem

className?
string
—

BreadcrumbLink

className?
string
—

BreadcrumbPage

className?
string
—

BreadcrumbSeparator

className?
string
—

BreadcrumbEllipsis

className?
string
—

Updated