Warning
@othent/react-components
has been deprecated.
Please, use the @othent/kms
SDK to integrate Othent in your projects.
You can read more about it at docs.othent.io and see it in action at playground.othent.io.
The Othent React Components Library is a collection of React components designed to provide a seamless way for developers to integrate Othent into their React applications.
To use the components in your React project, you can install it using npm
:
npm i @othent/react-components
Using yarn
:
yarn add @othent/react-components
Or using pnpm
:
pnpm add @othent/react-components
To use the components, you can import them directly into your project:
import { OthentLogin } from '@othent/react-components';
And then add them inside your React application:
<OthentLogin />
💡 Despite the library is modular and you can use each component as you wish, the main component,
OthentLogin
, is probably all you need if don't need to customize the behaviour of the login flow.
For more information on how to use the Othent React Components Library, please see the official Othent documentation at https://docs.othent.io/developers/component-library.
If you have any questions or issues with the Othent Library, please contact us at hello@othent.io or open an issue in the GitHub repository.
The Othent Library is licensed under the MIT License. Please see the LICENSE file for more information.