# TextFieldLabelPosition

Artifact: [androidx.compose.material3:material3](https://developer.android.com/jetpack/androidx/releases/compose-material3) [View Source](https://cs.android.com/search?q=file:androidx/compose/material3/TextFieldDefaults.kt+class:androidx.compose.material3.TextFieldLabelPosition) Common/AllAndroid/JVM
- Cmn

  ```
  abstract class TextFieldLabelPosition
  ```
Known direct subclasses [TextFieldLabelPosition.Above](https://developer.android.com/reference/kotlin/androidx/compose/material3/TextFieldLabelPosition.Above), [TextFieldLabelPosition.Attached](https://developer.android.com/reference/kotlin/androidx/compose/material3/TextFieldLabelPosition.Attached), [TextFieldLabelPosition.Cutout](https://developer.android.com/reference/kotlin/androidx/compose/material3/TextFieldLabelPosition.Cutout), [TextFieldLabelPosition.Inside](https://developer.android.com/reference/kotlin/androidx/compose/material3/TextFieldLabelPosition.Inside)

|---|---|
| `https://developer.android.com/reference/kotlin/androidx/compose/material3/TextFieldLabelPosition.Above` | The label is positioned above and outside the text field container. |
| `https://developer.android.com/reference/kotlin/androidx/compose/material3/TextFieldLabelPosition.Attached` | **This class is deprecated.** Use Inside for the default filled TextField behavior, or Cutout for the default OutlinedTextField behavior. |
| `https://developer.android.com/reference/kotlin/androidx/compose/material3/TextFieldLabelPosition.Cutout` | The label is positioned inside the text field container when expanded and cuts into the border when minimized. |
| `https://developer.android.com/reference/kotlin/androidx/compose/material3/TextFieldLabelPosition.Inside` | The label is positioned inside the text field container. |

*** ** * ** ***

The position of the label with respect to the text field.

## Summary

| ### Nested types |
|---|
| `class https://developer.android.com/reference/kotlin/androidx/compose/material3/TextFieldLabelPosition.Above : https://developer.android.com/reference/kotlin/androidx/compose/material3/TextFieldLabelPosition` The label is positioned above and outside the text field container. |
| `class https://developer.android.com/reference/kotlin/androidx/compose/material3/TextFieldLabelPosition.Attached : https://developer.android.com/reference/kotlin/androidx/compose/material3/TextFieldLabelPosition` **This class is deprecated.** Use Inside for the default filled TextField behavior, or Cutout for the default OutlinedTextField behavior. |
| `class https://developer.android.com/reference/kotlin/androidx/compose/material3/TextFieldLabelPosition.Cutout : https://developer.android.com/reference/kotlin/androidx/compose/material3/TextFieldLabelPosition` The label is positioned inside the text field container when expanded and cuts into the border when minimized. |
| `class https://developer.android.com/reference/kotlin/androidx/compose/material3/TextFieldLabelPosition.Inside : https://developer.android.com/reference/kotlin/androidx/compose/material3/TextFieldLabelPosition` The label is positioned inside the text field container. |