Title: Placeholder
Published: March 9, 2021
Last modified: October 14, 2026

---

# Placeholder

## In this article

 * [Usage](https://developer.wordpress.org/block-editor/reference-guides/components/placeholder/?output_format=md#usage)
 * [Props](https://developer.wordpress.org/block-editor/reference-guides/components/placeholder/?output_format=md#props)
    - [className: string](https://developer.wordpress.org/block-editor/reference-guides/components/placeholder/?output_format=md#classname-string)
    - [icon: string|Function|Component|null](https://developer.wordpress.org/block-editor/reference-guides/components/placeholder/?output_format=md#icon-stringfunctioncomponentnull)
    - [instructions: string](https://developer.wordpress.org/block-editor/reference-guides/components/placeholder/?output_format=md#instructions-string)
    - [isColumnLayout: boolean](https://developer.wordpress.org/block-editor/reference-guides/components/placeholder/?output_format=md#iscolumnlayout-boolean)
    - [label: string](https://developer.wordpress.org/block-editor/reference-guides/components/placeholder/?output_format=md#label-string)
    - [notices: ReactNode](https://developer.wordpress.org/block-editor/reference-guides/components/placeholder/?output_format=md#notices-reactnode)
    - [preview: ReactNode](https://developer.wordpress.org/block-editor/reference-guides/components/placeholder/?output_format=md#preview-reactnode)
    - [withIllustration: boolean](https://developer.wordpress.org/block-editor/reference-guides/components/placeholder/?output_format=md#withillustration-boolean)

## 󠀁[Usage](https://developer.wordpress.org/block-editor/reference-guides/components/placeholder/?output_format=md#usage)󠁿

    ```language-jsx
    import { Placeholder } from '@wordpress/components';
    import { more } from '@wordpress/icons';

    const MyPlaceholder = () => <Placeholder icon={ more } label="Placeholder" />;
    ```

## 󠀁[Props](https://developer.wordpress.org/block-editor/reference-guides/components/placeholder/?output_format=md#props)󠁿

### 󠀁[className: string](https://developer.wordpress.org/block-editor/reference-guides/components/placeholder/?output_format=md#classname-string)󠁿

Class to set on the container div.

 * Required: No

### 󠀁[icon: string|Function|Component|null](https://developer.wordpress.org/block-editor/reference-guides/components/placeholder/?output_format=md#icon-stringfunctioncomponentnull)󠁿

If provided, renders an icon next to the label.

 * Required: No

### 󠀁[instructions: string](https://developer.wordpress.org/block-editor/reference-guides/components/placeholder/?output_format=md#instructions-string)󠁿

Instructions of the placeholder.

 * Required: No

### 󠀁[isColumnLayout: boolean](https://developer.wordpress.org/block-editor/reference-guides/components/placeholder/?output_format=md#iscolumnlayout-boolean)󠁿

Changes placeholder children layout from flex-row to flex-column.

 * Required: No

### 󠀁[label: string](https://developer.wordpress.org/block-editor/reference-guides/components/placeholder/?output_format=md#label-string)󠁿

Title of the placeholder.

 * Required: No

### 󠀁[notices: ReactNode](https://developer.wordpress.org/block-editor/reference-guides/components/placeholder/?output_format=md#notices-reactnode)󠁿

A rendered notices list

 * Required: No

### 󠀁[preview: ReactNode](https://developer.wordpress.org/block-editor/reference-guides/components/placeholder/?output_format=md#preview-reactnode)󠁿

Preview to be rendered in the placeholder.

 * Required: No

### 󠀁[withIllustration: boolean](https://developer.wordpress.org/block-editor/reference-guides/components/placeholder/?output_format=md#withillustration-boolean)󠁿

Outputs a placeholder illustration.

 * Required: No

First published

March 9, 2021

Last updated

October 14, 2026

Edit article

[ Improve it on GitHub: Placeholder ](https://github.com/WordPress/gutenberg/edit/trunk/packages/components/src/placeholder/README.md)

[  Previous: Panel](https://developer.wordpress.org/block-editor/reference-guides/components/panel/)

[  Next: Popover](https://developer.wordpress.org/block-editor/reference-guides/components/popover/)