[android-components](../../../index.md) / [mozilla.components.ui.doorhanger](../../index.md) / [DoorhangerPrompt](../index.md) / [Button](index.md) / [label](./label.md)

# label

`val label: `[`String`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) [(source)](https://github.com/mozilla-mobile/android-components/blob/master/components/ui/doorhanger/src/main/java/mozilla/components/ui/doorhanger/DoorhangerPrompt.kt#L93)

a string to display on the button

### Property

`label` - a string to display on the button