Background
When we refactored the site architecture and updated VitePress, we temporarily hid the direction switcher in the header because we didn't have time to make it work on all viewport widths. We plan on moving it from the header to individual demos.
Implementation
Design
Considerations
The design covers configurable demos. For components that do not yet have a configurable demo, we can add the direction switcher to the first demo on the page.
Codex
- Update LTR/RTL selection in Codex with the solution proposed in the Figma prototype