| Return Type | Description |
|---|---|
DpSize |
The current window container size with width and height properties in Dp units |
Code Examples
Basic Example
Use currentWindowContainerSize() to get the current window dimensions:
HINT: Resize your browser's width to see the size changing.
import com.composeunstyled.currentWindowContainerSize
val containerSize = currentWindowContainerSize()