usePreferredLanguage*

React sensor hook that tracks the preferred language of the user's browser.

hooks
Description of the SVG image Loading...

About

The usePreferredLanguage hook automatically adapts to the preferred language of the user. The hook reactively returns a string that represents the preferred language of the user, as set in the browser settings.

Installation

Run the following command:

npx ever-ui-clx@0.2.1 add demo-use-preferred-language
# └──> Hook coming soon.

Usage