# ImageEditorSource (@salmonui/editors/image-editor)

> The ImageEditorSource type of @salmonui/editors/image-editor: What src accepts. A string is a URL or a data URL.

Canonical: https://salmonui.dev/docs/reference/editors/image-editor/ImageEditorSource

```ts
import type { ImageEditorSource } from '@salmonui/editors/image-editor';
```

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

## Reference

Kind: type

```ts
type ImageEditorSource = string | Blob | ImageBitmap | ImageData | HTMLImageElement | HTMLCanvasElement;
```

What `src` accepts. A string is a URL or a data URL.
