Direction

Sets left-to-right or right-to-left text direction for Base UI components, so menus, sliders, and popovers mirror correctly in RTL languages.

shadcn Base UIOfficial docs

Installation

npx shadcn@4.19.0 add https://ui.edbn.me/r/direction.json

Source