Capítulo 42 de 43
Wraps an app to declare a global reading direction (LTR/RTL) so every Radix primitive adjusts its keyboard navigation and layout logic accordingly, without passing dir to each component individually.
Provider: single part, single prop — dir ("ltr" | "rtl").dir prop still allow per-instance overrides, but wrapping the app once handles the common case.<Direction.Provider dir="rtl">
{/* your app */}
</Direction.Provider>
dir through every individual Menu/Tabs/RadioGroup/etc. instance.dir prop or orientation-dependent arrow-key navigation (Tabs, Accordion, RadioGroup, Menubar, ContextMenu, DropdownMenu): all inherit from this provider unless individually overridden.