# DialogSize

> Represents the dialog size classes.

[API reference](/docs/api/index.md) › [Bootstrap 6](/docs/extensions/bootstrap6/reference/index.md) › [enum](/docs/extensions/bootstrap6/reference/enum/index.md) › DialogSize

| enum | `yii2\extensions\bootstrap6\enum\DialogSize` |
| --- | --- |
| Backed by | `string` |
| Source | [`src/enum/DialogSize.php`](https://github.com/yii2-extensions/bootstrap6/blob/main/src/enum/DialogSize.php#L10) |

Represents the dialog size classes.

## Cases

| Case | Value | Description |
| --- | --- | --- |
| <span id="case-FULLSCREEN"></span>`FULLSCREEN` | `'dialog-fullscreen'` | Expands the dialog to fill the viewport. |
| <span id="case-LG"></span>`LG` | `'dialog-lg'` | Applies the large dialog size. |
| <span id="case-SM"></span>`SM` | `'dialog-sm'` | Applies the small dialog size. |
| <span id="case-XL"></span>`XL` | `'dialog-xl'` | Applies the extra-large dialog size. |