# BreadcrumbItemProps (@salmonui/navigation/breadcrumbs)

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

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

```ts
import type { BreadcrumbItemProps } 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 BreadcrumbItemProps {
    readonly children?: ReactNode;
    readonly href?: string | undefined;
    readonly target?: string | undefined;
    readonly rel?: string | undefined;
    readonly icon?: ReactNode;
    readonly disabled?: boolean | undefined;
    readonly current?: boolean | undefined;
    readonly render?: ((props: BreadcrumbItemRenderProps) => ReactElement) | undefined;
    readonly onClick?: ((event: MouseEvent<HTMLElement>) => void) | undefined;
    readonly className?: string | undefined;
    readonly style?: CSSProperties | undefined;
    readonly id?: string | undefined;
    readonly title?: string | undefined;
}
```

Members (13):

| Name | Signature | Flags | Description |
| --- | --- | --- | --- |
| `children` | `readonly children?: ReactNode;` | optional | The item's label. |
| `href` | `readonly href?: string \| undefined;` | optional | Link target. Without `href` the item renders as text. |
| `target` | `readonly target?: string \| undefined;` | optional |  |
| `rel` | `readonly rel?: string \| undefined;` | optional |  |
| `icon` | `readonly icon?: ReactNode;` | optional | Decorative icon before the label (`aria-hidden`). |
| `disabled` | `readonly disabled?: boolean \| undefined;` | optional | Not interactive: text with `aria-disabled="true"`. |
| `current` | `readonly current?: boolean \| undefined;` | optional | The current page (`aria-current="page"`). Default: the last item. |
| `render` | `readonly render?: ((props: BreadcrumbItemRenderProps) => ReactElement) \| undefined;` | optional | Renders another element for the link (a router link): `render={(props) => <Link {...props} to="/x" />}`. |
| `onClick` | `readonly onClick?: ((event: MouseEvent<HTMLElement>) => void) \| undefined;` | optional |  |
| `className` | `readonly className?: string \| undefined;` | optional | On the `<li>`. |
| `style` | `readonly style?: CSSProperties \| undefined;` | optional | On the `<li>`. |
| `id` | `readonly id?: string \| undefined;` | optional | On the `<li>`. |
| `title` | `readonly title?: string \| undefined;` | optional |  |
