---
id: "packages/active-grid/api/direction"
title: "GridTextDirection"
description: "GridTextDirection: generated from the source of active-grid."
url: "/packages/active-grid/api/direction"
locale: "en"
revision: "g0mvjxwj5c-88bdbe1c:direction"
---

# GridTextDirection

Exported by `@workspace/active-grid`. Generated from the package source; part of [the index of every export](/packages/active-grid/api).

## Types

**GridTextDirection**

```ts
type GridTextDirection = 'auto' | 'ltr' | 'rtl';
```

The base direction of one text run.

- `auto`: from the first strong character (free text of unknown direction:
names, labels, categories).
- `ltr` / `rtl`: fixed, for identifiers and codes (`ABC-42`, an IBAN, a
policy number) whose order must not follow the surrounding text.
