<div class='type'>Composable Function</div>


<a id='references'></a>



<h2 id="currentwindowsize">currentWindowSize</h2>

<div class='sourceset sourceset-android'>Android</div>


```kotlin
@ExperimentalMaterial3AdaptiveApi
@Composable
fun currentWindowSize(): IntSize
```


Returns and automatically update the current window size from `WindowMetricsCalculator`.

#### Returns

| | |
| --- | --- |
|  | an `IntSize` that represents the current window size. |