Direction is behavior
RTL is part of the component contract.
Gummy UI uses logical properties, native dir boundaries, and Base UI direction context so geometry and key meaning move together.
Live scoped example
إعدادات مساحة العمل
تظل القراءة هادئة بينما تنتقل الحواف والأسهم مع اتجاه المحتوى.
Implementation guidance
- Set the document direction at the root; use scoped Direction only for genuine mixed-direction content.
- Use inline/block logical CSS properties instead of left/right layout rules.
- Mirror directional icons and keyboard deltas, not culturally neutral symbols.
- Keep verification codes and other inherently LTR data in an explicit inner boundary.