# React SDK URL: /docs/sdks/react Install and use the Notus React SDK ## Install [#install] ```bash pnpm add @notus-api/react-sdk ``` ## Usage [#usage] ```tsx import { Liveness } from '@notus-api/react-sdk' export default function KycLiveness() { return (
) } ``` ### With event callbacks [#with-event-callbacks] ```tsx import { Liveness } from '@notus-api/react-sdk' export default function KycLiveness() { return ( console.log('KYC liveness completed')} onError={(e) => console.error('KYC liveness error', e)} /> ) } ``` ## Theming [#theming] You can customize the UI colors with the `theme` prop: ```tsx ``` Supported theme fields: `primaryColor`, `primaryTextColor`, `backgroundColor`, `textColor`, `disabledColor`, `disabledTextColor`. ## Language [#language] Set the interface language via `language` prop: `'en' | 'pt'` (default `'en'`). ## Example project [#example-project] See a complete example app here: [notus-api-examples/liveness-kyc-sdk-notus-api](https://github.com/notuslabs/notus-api-examples/tree/main/examples/liveness-kyc-sdk-notus-api)