> For the complete documentation index, see [llms.txt](https://designsystem.dubai.ae/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://designsystem.dubai.ae/developers/rtl-support.md).

# RTL Support

Our component library supports **Right-to-Left (RTL) layouts**, but RTL handling should be implemented **on your side** as a developer. To enable RTL, you need to **set the `dir="rtl"` attribute** on the `<body>` or relevant container element programmatically in your project.

{% tabs %}
{% tab title="Vanilla Js" %}

```jsx
<html lang="ar" dir="rtl">
<body>
  <dda-button></dda-button>
</body>
</html>
```

{% endtab %}

{% tab title="React" %}

```jsx
 <div dir="rtl">
      <DdaButton />
 </div>
```

{% endtab %}

{% tab title="Vue" %}

```jsx
<template>
  <div dir="rtl">
    <DdaButton />
  </div>
</template>
```

{% endtab %}

{% tab title="Angular" %}

```jsx
<div dir="rtl">
  <dda-button></dda-button>
</div>
```

{% endtab %}
{% endtabs %}
