---
title: "NestedStyleKey"
description: "A key used to identify a style that is being defined by a parent style or applied by a nested styleable composable."
type: "class"
lastmod: "2026-09-24"
---
## API Reference

> Source set: Common

```kotlin
public class NestedStyleKey(private val label: String)
```

A key used to identify a style that is being defined by a parent style or applied by a nested
styleable composable.

#### Parameters

| | |
| --- | --- |
| label | diagnostic label for debugging; not used for key identity |

## Functions

### toString

> Source set: Common

```kotlin
override fun toString(): String
```
