# TextButton

> TextButton from Material 3 Compose (`androidx.compose.material3:material3`) for Jetpack Compose, with a code sample.

- Library: [Material 3 Compose](https://composables.com/material-components/material-3-compose.md)
- Category: [Buttons](https://composables.com/material-components/buttons.md)
- Category: [Text](https://composables.com/material-components/text.md)
- Category: [Material 3 Expressive](https://composables.com/material-components/material-3-expressive.md)
- API reference and more examples: [TextButton](https://composables.com/jetpack-compose/androidx.compose.material3/material3/components/TextButton/api.md)

## Code

```kotlin
@Composable
fun TextButtonWithAnimatedShapeSample() {
    TextButton(onClick = {}, shapes = ButtonDefaults.shapes()) { Text("Text Button") }
}
```
