Documentation
RTL Mode
Installing via npm
npm i tailwindcss-rtl --save
Here is how you can change modes between rtl/ltr in Tailwind:
Steps are given bellow:
Require tailwindcss-rtl in the project file of tailwind.config.js file:
plugins: [
require('tailwindcss-rtl'),
],
For RTL Mode
<HTML dir="rtl">
For LTR Mode
<HTML dir="ltr">