# Breadcrumb

A wrapping hierarchy of native links with an explicit current page.

Connect Flood once using [the installation guide](https://flood.md/docs/installation). Then import the components you use; no per-component add command is needed.

## Example

```tsx
"use client";

import { FloodRoot, Breadcrumb } from "@flood-md/react";
import "@flood-md/react/styles.css";

export function Example() {
  return (
    <FloodRoot>
      <Breadcrumb items={[{label:"Workspace",href:"/"},{label:"Projects",href:"/projects"},{label:"Flood"}]} />
    </FloodRoot>
  );
}
```

## Design notes

- The last item is current, with or without an href. Separators are decorative and not focusable.
- Links keep browser navigation semantics. The host owns actual routes and client routing.

## API reference

| Prop | Values | Default |
| --- | --- | --- |
| `items` | `readonly BreadcrumbItem[]` | `Required` |
| `label` | `string` | `"Breadcrumb"` |
| `separator` | `string` | `"/"` |
| `Native HTML props` | `Omit<HTMLAttributes<HTMLElement>, "children">` | `Forwarded` |
