# CarouselLocaleText (@salmonui/navigation/carousel)

> The CarouselLocaleText interface of @salmonui/navigation/carousel: Static texts; every value has a default in CAROUSEL_DEFAULT_LOCALE_TEXT.

Canonical: https://salmonui.dev/docs/reference/navigation/carousel/CarouselLocaleText

```ts
import type { CarouselLocaleText } from '@salmonui/navigation/carousel';
```

Entry index: https://salmonui.dev/docs/reference/navigation/carousel (Markdown with every symbol of the entry: https://salmonui.dev/docs/reference/navigation/carousel.md).

## Reference

Kind: interface

```ts
interface CarouselLocaleText {
    readonly carousel: string;
    readonly slide: string;
    readonly slideLabel: (index: number, total: number, label?: string) => string;
    readonly previous: string;
    readonly next: string;
    readonly play: string;
    readonly pause: string;
    readonly indicators: string;
    readonly indicator: (index: number, total: number, label?: string) => string;
    readonly fraction: (index: number, total: number) => string;
}
```

Static texts; every value has a default in `CAROUSEL_DEFAULT_LOCALE_TEXT`.

Members (10):

| Name | Signature | Flags | Description |
| --- | --- | --- | --- |
| `carousel` | `readonly carousel: string;` |  | `aria-roledescription` of the root. |
| `slide` | `readonly slide: string;` |  | `aria-roledescription` of each slide. |
| `slideLabel` | `readonly slideLabel: (index: number, total: number, label?: string) => string;` |  | Accessible name of a slide ("1 of 5"); `label` is the slide's own label. |
| `previous` | `readonly previous: string;` |  |  |
| `next` | `readonly next: string;` |  |  |
| `play` | `readonly play: string;` |  |  |
| `pause` | `readonly pause: string;` |  |  |
| `indicators` | `readonly indicators: string;` |  | Name of the indicator group. |
| `indicator` | `readonly indicator: (index: number, total: number, label?: string) => string;` |  |  |
| `fraction` | `readonly fraction: (index: number, total: number) => string;` |  |  |
