DirectionRead post
Post cover image

Documentation for the shadcn/ui DirectionProvider component, which sets text direction (ltr or rtl) for React applications. It enables support for right-to-left languages such as Arabic, Hebrew, and Persian. Also covers the useDirection hook for reading the current direction at runtime.

Sort: