Right-to-left support for every Pro block

Every Pro block, component and pattern in the shadcncraft React registry now supports right-to-left layouts. If you build for Arabic, Hebrew, Persian or Urdu readers, the blocks mirror correctly with the same code you already install. Nothing changes for left-to-right projects.
What changed
The blocks now use logical classes, such as ms-2, ps-4, start-0 and border-s, instead of left and right. That covers more than spacing:
- Layout: positioning, borders, radii, edge fades and shadows all follow the reading direction.
- Navigation: sidebars open from the right and directional icons, such as chevrons and arrows, flip.
- Data: data grid column pinning and keyboard navigation follow the reading direction, and Gantt timelines run right to left, including when you drag a bar.
- Carousels scroll the way right-to-left readers expect.
Some things should not mirror, so they don't. Signed amounts, phone numbers, account and card numbers stay readable inside right-to-left text. Phone, email, URL and card inputs read left to right. Charts, code samples and maps stay left to right by design.
Set up your project
You need three things:
- Set
"rtl": truein your components.json. The shadcn CLI then converts shadcn's own primitives when it installs them. - Wrap your app in shadcn's
DirectionProviderwithdir="rtl". Without it, Radix Tabs, Accordion, NavigationMenu and ScrollArea stay left to right. - Set
langanddiron<html>, for example<html lang="ar" dir="rtl">.
Then install blocks as usual:
$ pnpm dlx shadcn@latest add @shadcncraft/data-grid-1
If you installed blocks before today, add them again to pick up the changes. The RTL guide has the full setup, including what flips and the known limits.
How we checked it
We captured all 558 blocks right to left and reviewed them, and compared every block left to right against the previous version, pixel by pixel, so existing projects look the same. A test now keeps left and right classes out of the registry, so new blocks support right-to-left from the start.
RTL support is part of Pro React and Pro Figma + React, across every shadcncraft style.



