Dir

Class
Properties
dir-rtl
direction: rtl;
dir-ltr
direction: ltr;

Usage

Single import

// tailwind.config.js
 
import { dir } from "tailwindcss-addons"
 
export default {
    plugins: [dir],
}

Multi import

// tailwind.config.js
 
import { allAddons } from "tailwindcss-addons"
 
export default {
    plugins: [
        ...allAddons({
            dir: false, // Enabled by default.
        }),
    ],
}
Return to top