<h2 id="remotetimetext-modifier-time-fontsize-fontfamily-leadingtext-trailingtext-separator-color">RemoteTimeText</h2>

<div class='sourceset sourceset-android'>Android</div>

```kotlin
@RemoteComposable
@Composable
public fun RemoteTimeText(
    modifier: RemoteModifier = RemoteModifier,
    time: RemoteString = RemoteTimeDefaults.defaultTimeString(),
    fontSize: RemoteTextUnit = 14.rsp,
    fontFamily: FontFamily? = null,
    leadingText: RemoteString? = null,
    trailingText: RemoteString? = null,
    separator: RemoteString = "·".rs,
    color: RemoteColor = RemoteMaterialTheme.colorScheme.onBackground,
)
```

A remote composable for displaying the time and surrounding text, designed to curve along the top
of a circular screen. This is a remote version of the `TimeText` composable.

`RemoteTimeText` is typically used at the top of the screen and is the remote equivalent of
`androidx.wear.compose.material3.TimeText`.

#### Parameters

| | |
| --- | --- |
| modifier | The [RemoteModifier](/jetpack-compose/androidx.compose.remote/remote-creation-compose/interfaces/RemoteModifier) to be applied to the `RemoteTimeText`. |
| time | The text to display as the time. Defaults to a formatted time string from the remote context. |
| leadingText | Text to be displayed before the time, or null if not present. |
| trailingText | Text to be displayed after the time, or null if not present. |
| separator | The separator to be used between the leading/trailing text and the time. Defaults to "·". |
| color | The color of the text. Defaults to the `onBackground` color from the current `RemoteMaterialTheme`. |