Skip to content
Eskais UI

Navigation

Breadcrumb

Presentational breadcrumb trail: a navigation named Breadcrumb, an ordered list and aria-current on the current page.

Example

Installation

npx shadcn@latest add @eskais/breadcrumb
Brings alonglink
npm packageslucide-react

Usage

Import
import {  Breadcrumb,  BreadcrumbEllipsis,  BreadcrumbItem,  BreadcrumbLink,  BreadcrumbList,  BreadcrumbPage,  BreadcrumbSeparator,} from "@/components/ui/breadcrumb"

API reference

Breadcrumb

Takes <nav> attributes and render.

BreadcrumbList

Takes <ol> attributes and render.

BreadcrumbItem

Takes <li> attributes and render.

Takes LinkProps.

BreadcrumbPage

Takes <span> attributes and render.

BreadcrumbSeparator

Takes <li> attributes and render.

BreadcrumbEllipsis

Takes <span> attributes and render.

Accessibility

  • A navigation named Breadcrumb with an ordered list; the current page has aria-current=page.

Agent actions

Runs agent.snapshot() from @ui-sdk/react/agent on the live preview above.