# Direction

> Represents values for the HTML dir global attribute.

[API reference](/docs/api/index.md) › [HTML Attribute](/docs/extensions/html-attribute/reference/index.md) › [Values](/docs/extensions/html-attribute/reference/values/index.md) › Direction

| enum | `UIAwesome\Html\Attribute\Values\Direction` |
| --- | --- |
| Backed by | `string` |
| Source | [`src/Values/Direction.php`](https://github.com/ui-awesome/html-attribute/blob/main/src/Values/Direction.php#L12) |

Represents values for the HTML `dir` global attribute.

See also: <https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/dir>.

## Cases

| Case | Value | Description |
| --- | --- | --- |
| <span id="case-AUTO"></span>`AUTO` | `'auto'` | Let the user agent decide. |
| <span id="case-LTR"></span>`LTR` | `'ltr'` | Left-to-right text direction. |
| <span id="case-RTL"></span>`RTL` | `'rtl'` | Right-to-left text direction. |