Skip to main content

useRTL

useRTL is a direction hook for reading and switching the page's reading direction. It returns whether the page is right-to-left with a function to change it.

Import

import { useRTL } from '@vortexlabs/vortex';

Other links