Component changelog

DirectionProvider changelog

Component-specific release notes collected from the full changelog. This page filters the published entries that mention DirectionProvider.

Release

v1.2.0

npm
Minor Changes
  • 07e6783Add DirectionProvider and useDirection. Wrap an RTL app once with <DirectionProvider dir="rtl"> and every Rad UI component inside uses right-to-left keyboard navigation and positioning: Tabs, TabNav, ToggleGroup, Toolbar, RadioGroup, CheckboxGroup, Accordion, Menubar, menus, NavigationMenu, Splitter, Slider, Select and Combobox. A component's own dir prop still wins. Set dir on <html> as well so text and CSS follow.