Direction
Provider that sets left-to-right or right-to-left reading direction.
Installation
bun add @xerobi/ui
import { DirectionProvider } from "@xerobi/ui/direction"This component is client-side. In Astro, hydrate it with a client directive.
API reference
DirectionProvider
Enables RTL behavior for Base UI components. Documentation: [Base UI Direction Provider](https://base-ui.com/react/utils/direction-provider)
No props of its own.
Hooks
useDirection