# ToolbarProps (@salmonui/navigation/toolbar)

> The ToolbarProps interface of @salmonui/navigation/toolbar.

Canonical: https://salmonui.dev/docs/reference/navigation/toolbar/ToolbarProps

```ts
import type { ToolbarProps } from '@salmonui/navigation/toolbar';
```

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

## Reference

Kind: interface

```ts
interface ToolbarProps extends Omit<HTMLAttributes<HTMLDivElement>, 'role'> {
    readonly children?: ReactNode;
    readonly orientation?: ToolbarOrientation | undefined;
    readonly overflow?: ToolbarOverflow | undefined;
    readonly scrollStep?: number | undefined;
    readonly disabled?: boolean | undefined;
    readonly moreIcon?: ReactNode;
    readonly localeText?: Partial<ToolbarLocaleText> | undefined;
    readonly ref?: Ref<HTMLDivElement> | undefined;
}
```

Members (8):

| Name | Signature | Flags | Description |
| --- | --- | --- | --- |
| `children` | `readonly children?: ReactNode;` | optional | Toolbar content: buttons, `ToolbarItem`, `ToolbarGroup`, `ToolbarSpacer`, `ToolbarSeparator`. |
| `orientation` | `readonly orientation?: ToolbarOrientation \| undefined;` | optional | Layout and arrow-key axis. Default `'horizontal'`. |
| `overflow` | `readonly overflow?: ToolbarOverflow \| undefined;` | optional | What happens to items that do not fit. Default `'menu'`. |
| `scrollStep` | `readonly scrollStep?: number \| undefined;` | optional | Distance of one scroll-button press in px (`overflow="scroll"`). Default 120. |
| `disabled` | `readonly disabled?: boolean \| undefined;` | optional | Disables every control (a disabled `<fieldset>`); `aria-disabled` on the toolbar. |
| `moreIcon` | `readonly moreIcon?: ReactNode;` | optional | Icon of the overflow menu button (default: three dots). |
| `localeText` | `readonly localeText?: Partial<ToolbarLocaleText> \| undefined;` | optional |  |
| `ref` | `readonly ref?: Ref<HTMLDivElement> \| undefined;` | optional |  |
