# MediaEmbedResizeOption

interface

The media embed resize option used in the [`config.mediaEmbed.resizeOptions`](module_media-embed_mediaembedconfig-MediaEmbedConfig.md#member-resizeOptions) configuration.

[See source](https://github.com/ckeditor/ckeditor5/blob/master/packages/ckeditor5-media-embed/src/mediaembedconfig.ts#L346)

<a id="properties">

## Properties

<a id="member-icon">

### `icon?: string`

The icon displayed on the button. Available icons: `'small'`, `'medium'`, `'large'`, `'original'`, `'custom'`.

[See source](https://github.com/ckeditor/ckeditor5/blob/master/packages/ckeditor5-media-embed/src/mediaembedconfig.ts#L365)

<a id="member-label">

### `label?: string`

The option label shown in the dropdown or used as button tooltip and ARIA label. When not specified, the label is generated automatically from the `value` and [`config.mediaEmbed.resizeUnit`](module_media-embed_mediaembedconfig-MediaEmbedConfig.md#member-resizeUnit).

[See source](https://github.com/ckeditor/ckeditor5/blob/master/packages/ckeditor5-media-embed/src/mediaembedconfig.ts#L372)

<a id="member-name">

### `name: string`

The name of the UI component that changes the media size. When placing individual resize buttons in the toolbar, reference this name directly. When using the dropdown, this name is used for the corresponding list item.

[See source](https://github.com/ckeditor/ckeditor5/blob/master/packages/ckeditor5-media-embed/src/mediaembedconfig.ts#L353)

<a id="member-value">

### `value: string | null`

The numeric resize value without the unit ([configured separately](module_media-embed_mediaembedconfig-MediaEmbedConfig.md#member-resizeUnit)). `null` resets the media to its original (unresized) width. `'custom'` opens the custom-size balloon.

[See source](https://github.com/ckeditor/ckeditor5/blob/master/packages/ckeditor5-media-embed/src/mediaembedconfig.ts#L360)

---

Full index of the CKEditor 5 API reference: [llms.txt](llms.txt)
