# Size

> Represents the component size modifiers.

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

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

Represents the component size modifiers.

## Cases

| Case | Value | Description |
| --- | --- | --- |
| <span id="case-LG"></span>`LG` | `'lg'` | Applies the large size modifier. |
| <span id="case-SM"></span>`SM` | `'sm'` | Applies the small size modifier. |
| <span id="case-XL"></span>`XL` | `'xl'` | Applies the extra-large size modifier. |
| <span id="case-XS"></span>`XS` | `'xs'` | Applies the extra-small size modifier. |