# SpeechToTextLocaleText (@salmonui/inputs/speech-to-text)

> The SpeechToTextLocaleText interface of @salmonui/inputs/speech-to-text: User-visible strings of SpeechToTextButton.

Canonical: https://salmonui.dev/docs/reference/inputs/speech-to-text/SpeechToTextLocaleText

```ts
import type { SpeechToTextLocaleText } from '@salmonui/inputs/speech-to-text';
```

Entry index: https://salmonui.dev/docs/reference/inputs/speech-to-text (Markdown with every symbol of the entry: https://salmonui.dev/docs/reference/inputs/speech-to-text.md).

## Reference

Kind: interface

```ts
interface SpeechToTextLocaleText {
    readonly label?: string;
    readonly start?: string;
    readonly stop?: string;
    readonly unsupported?: string;
}
```

User-visible strings of `SpeechToTextButton`.

Members (4):

| Name | Signature | Flags | Description |
| --- | --- | --- | --- |
| `label` | `readonly label?: string;` | optional | Accessible name of an icon-only button. Default `"Speech to text"`. |
| `start` | `readonly start?: string;` | optional | Hint while idle or stopped. Default `"Start listening"`. |
| `stop` | `readonly stop?: string;` | optional | Hint while listening. Default `"Stop listening"`. |
| `unsupported` | `readonly unsupported?: string;` | optional | Hint when the browser has no speech recognition. |
