Right-to-left support

Pro blocks, components and patterns now mirror correctly for Arabic, Hebrew, Persian and other right-to-left languages.
PreviousNext

Pro blocks, components, ui/pro-* primitives, hooks and style markers now use logical (start and end) classes, so they mirror correctly in right-to-left layouts. Nothing changes for left-to-right projects.

  • Layout: spacing, positioning, borders, radii, edge fades and shadows flip.
  • Interaction: sidebars open from the right, directional icons flip, data grid pinning and keyboard navigation follow the reading direction, and Gantt bars drag the right way.
  • Numbers: signed amounts, phone, account and card numbers stay readable inside right-to-left text. Phone, email, URL and card inputs read left to right.
  • By design: charts, code samples and maps stay left to right.

To set up a project, set "rtl": true in components.json, wrap your app in shadcn's DirectionProvider and set lang and dir on <html>. Add existing blocks again to pick up the changes.

Read the RTL guide or read the announcement.

SBIOTJ

Join 16,000+ builders shipping with shadcncraft

Design and assemble full pages faster with production-ready blocks built for real products.
  • Production-ready blocks and components
  • Clean React and Tailwind parity
  • Built for SaaS, marketing, and ecommerce teams
Get the design system
Join Now CTA

Real support from the team behind shadcncraft

Get help within 24 hours from the people who build and maintain the system.
Email
Prefer a direct line? Send us a message and we'll get back to you as soon as possible.
Discord
Get quick support, share feedback, or connect with other builders.
Feedback
Got something to say about anything shadcncraft? We'd love to hear it.