# Dimensions

The Kendo UI for Angular Dialog allows you to specify its width and height.

To define the dimensions of the Dialog, set its [`width`](https://www.telerik.com/kendo-angular-ui/components/dialogs/api/dialogcomponent#width) and [`height`](https://www.telerik.com/kendo-angular-ui/components/dialogs/api/dialogcomponent#height) inputs.

For content that varies, use the minimum and maximum limits instead of fixing the width or height. Use [`minWidth`](https://www.telerik.com/kendo-angular-ui/components/dialogs/api/dialogcomponent#minwidth) and [`maxWidth`](https://www.telerik.com/kendo-angular-ui/components/dialogs/api/dialogcomponent#maxwidth) to constrain the Dialog width, and [`minHeight`](https://www.telerik.com/kendo-angular-ui/components/dialogs/api/dialogcomponent#minheight) and [`maxHeight`](https://www.telerik.com/kendo-angular-ui/components/dialogs/api/dialogcomponent#maxheight) to constrain its height.

Use numbers for pixels or strings with CSS units, such as `"50%"`, for relative sizes. If you omit a dimension, the Dialog leaves it unset rather than applying an inline size.

The following example sets the Dialog width to 400 pixels and its height to 300 pixels.

[Demo Source](https://demos.telerik.com/kendo-angular-ui/demos/dialogs/dialog/dimensions/source.txt)

## Suggested Links

* [API Reference of the Dialog](https://www.telerik.com/kendo-angular-ui/components/dialogs/api/dialogcomponent)
* [Dialog Service](https://www.telerik.com/kendo-angular-ui/components/dialogs/dialog/service)
