---
title: "UrlMetadataKey"
description: "[NavMetadataKey] for defining a URL or location path representation for a navigation scene or entry."
type: "object"
lastmod: "2026-10-07"
---
## API Reference

> Source set: Common

```kotlin
public object UrlMetadataKey : NavMetadataKey<@Composable () -> String>
```

`NavMetadataKey` for defining a URL or location path representation for a navigation scene or
entry.

The associated lambda is invoked in a `@Composable` context during navigation state resolution.
