Title

The Dialog provides options for displaying a title and customizing its behavior.

To set a title to the Dialog, use its title property.

Example
View Source
Edit In Stackblitz  
Change Theme:

To customize the title, add components, functions, or HTML elements you can use the title-render prop.

Example
View Source
Edit In Stackblitz  
Change Theme:

If title is not specified, the Dialog will not display a title.

Example
View Source
Edit In Stackblitz  
Change Theme:

In this article

Not finding the help you need?