The most basic way to display text is to use the`Text`composable with a`String`as an argument:

<br />

```kotlin
@Composable
fun SimpleText() {
    Text("Hello World")
}https://github.com/android/snippets/blob/95aeebd507b29719a9e7d5a839f101bbbe42ea72/compose/snippets/src/main/java/com/example/compose/snippets/text/TextSnippets.kt#L107-L110
```

<br />

![The words](https://developer.android.com/static/develop/ui/compose/images/text-plain.png)

## Display text from resource

We recommend you use[string resources](https://developer.android.com/develop/ui/compose/resources#strings)instead of hardcoding`Text`values, as you can share the same strings with your Android Views as well as preparing your app for internationalization:

<br />

```kotlin
@Composable
fun StringResourceText() {
    Text(stringResource(R.string.hello_world))
}https://github.com/android/snippets/blob/95aeebd507b29719a9e7d5a839f101bbbe42ea72/compose/snippets/src/main/java/com/example/compose/snippets/text/TextSnippets.kt#L116-L119
```

<br />

## Recommended for you

- Note: link text is displayed when JavaScript is off
- [Enable user interactions](https://developer.android.com/develop/ui/compose/text/user-interactions)
- [Thinking in Compose](https://developer.android.com/develop/ui/compose/mental-model)
- [Display emoji](https://developer.android.com/develop/ui/compose/text/emoji)