# RichTextToolbarItem (@salmonui/rich-text)

> The RichTextToolbarItem type of @salmonui/rich-text: A built-in id, the id of an extension's toolbarItems entry, item options or a custom item.

Canonical: https://salmonui.dev/docs/reference/rich-text/RichTextToolbarItem

```ts
import type { RichTextToolbarItem } from '@salmonui/rich-text';
```

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

## Reference

Kind: type

```ts
type RichTextToolbarItem = RichTextToolbarItemId | (string & Record<never, never>) | RichTextToolbarItemOptions | RichTextToolbarCustomItem;
```

A built-in id, the id of an extension's `toolbarItems` entry, item options or a custom item.
