---
title: "LocalPinnableContainer"
description: "Use this composition local to get the [PinnableContainer] handling the current subhierarchy.

It will be not null, for example, when the current content is composed as an item of lazy list."
type: "property"
---

<div class='type'>Property</div>


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

<div class='sourceset sourceset-common'>Common</div>


```kotlin
val LocalPinnableContainer = compositionLocalOf<PinnableContainer?> { null }
```


Use this composition local to get the `PinnableContainer` handling the current subhierarchy.

It will be not null, for example, when the current content is composed as an item of lazy list.



