---
title: "LocalOverscrollFactory"
description: "CompositionLocal that provides an [OverscrollFactory] through the hierarchy. This will be used by
default by scrolling components, so you can provide an [OverscrollFactory] here to override the
overscroll used by components within a hierarchy.

See [rememberOverscrollEffect] to remember an [OverscrollEffect] from the current provided value."
type: "property"
---

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


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

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


```kotlin
val LocalOverscrollFactory: ProvidableCompositionLocal<OverscrollFactory?>
```


CompositionLocal that provides an `OverscrollFactory` through the hierarchy. This will be used by
default by scrolling components, so you can provide an `OverscrollFactory` here to override the
overscroll used by components within a hierarchy.

See `rememberOverscrollEffect` to remember an `OverscrollEffect` from the current provided value.



