---
title: "LocalWindow"
description: "The CompositionLocal containing the current [Window] if available."
type: "property"
lastmod: "2026-09-24"
---
## API Reference

> Source set: Android

```kotlin
public val LocalWindow: ProvidableCompositionLocal<Window?> = computedNullableDefaultOf {
    LocalAndroidComposeView.currentValue?.window
}
```

The CompositionLocal containing the current `Window` if available.
