JSFiddle - React, Tailwind, and code Playground

HTML

<div class="test">
なにかしらのてきすと
</div>

<div class="test rtl">
شيء من النص
</div>

CSS

.rtl {
  direction: rtl;
   unicode-bidi: embed;
}