Direction Provider

Enables RTL behavior for Base UI components.

View as Markdown

API reference

Import the component and wrap it around your app:

Anatomy
direction

TextDirection

(default:

'ltr'

)
Description

The reading direction of the text

Type

TextDirection

Default

'ltr'

children

ReactNode

Type

ReactNode