---
title: "asDpOrNull"
description: "Extension property to get the [Dp] value of this [RemoteDp], or null if dynamic."
type: "property"
lastmod: "2026-10-21"
---
## API Reference

> Source set: Android

```kotlin
public val RemoteDp.asDpOrNull: Dp?
```

Extension property to get the `Dp` value of this [RemoteDp](/jetpack-compose/androidx.compose.remote/remote-creation-compose/classes/RemoteDp/api), or null if dynamic.
