Direction
Tells the components inside it whether text reads left to right or right to left, so menus, popups, sliders and keyboard arrows follow it. Wrap the app once, with the same direction as the dir attribute on <html>.
React
Ready
Figma
Import
import { DirectionProvider, useDirection } from "@kela-systems/ui-components";This page has no live example yet.
Props
DirectionProvider
No props of its own. It also takes the props of Base UI's direction-provider.
Also exported: useDirection (hook).