# BreadcrumbsProps (@salmonui/navigation/breadcrumbs)

> The BreadcrumbsProps interface of @salmonui/navigation/breadcrumbs.

Canonical: https://salmonui.dev/docs/reference/navigation/breadcrumbs/BreadcrumbsProps

```ts
import type { BreadcrumbsProps } from '@salmonui/navigation/breadcrumbs';
```

Entry index: https://salmonui.dev/docs/reference/navigation/breadcrumbs (Markdown with every symbol of the entry: https://salmonui.dev/docs/reference/navigation/breadcrumbs.md).

## Reference

Kind: interface

```ts
interface BreadcrumbsProps extends Omit<HTMLAttributes<HTMLElement>, 'children'> {
    readonly children?: ReactNode;
    readonly overflow?: BreadcrumbsOverflow | undefined;
    readonly maxItems?: number | undefined;
    readonly separator?: ReactNode;
    readonly currentNavigable?: boolean | undefined;
    readonly disabled?: boolean | undefined;
    readonly onItemClick?: ((event: BreadcrumbsItemClickEvent) => void) | undefined;
    readonly localeText?: Partial<BreadcrumbsLocaleText> | undefined;
    readonly ref?: Ref<HTMLElement> | undefined;
}
```

Members (9):

| Name | Signature | Flags | Description |
| --- | --- | --- | --- |
| `children` | `readonly children?: ReactNode;` | optional | `BreadcrumbItem` elements (fragments and arrays are flattened). |
| `overflow` | `readonly overflow?: BreadcrumbsOverflow \| undefined;` | optional | Default `'menu'`. |
| `maxItems` | `readonly maxItems?: number \| undefined;` | optional | `'menu'` / `'expand'`: keep the first item and the last `maxItems - 1` items; the rest collapse behind the ellipsis. |
| `separator` | `readonly separator?: ReactNode;` | optional | Separator between items. Default a CSS chevron (mirrored in RTL). |
| `currentNavigable` | `readonly currentNavigable?: boolean \| undefined;` | optional | The current item renders as a link (when it has `href`) instead of text. |
| `disabled` | `readonly disabled?: boolean \| undefined;` | optional | Disables every item and the ellipsis. |
| `onItemClick` | `readonly onItemClick?: ((event: BreadcrumbsItemClickEvent) => void) \| undefined;` | optional | A link item was activated (in the list or the ellipsis menu); `preventDefault()` cancels navigation. |
| `localeText` | `readonly localeText?: Partial<BreadcrumbsLocaleText> \| undefined;` | optional |  |
| `ref` | `readonly ref?: Ref<HTMLElement> \| undefined;` | optional | The `<nav>`. |
