Files
zitadel/packages/zitadel-react
peintnermax fc0b59bb76 postcss cjs
2024-08-12 09:43:32 +02:00
..
2024-05-24 12:40:15 -04:00
2024-08-12 09:43:32 +02:00
2024-08-12 09:43:32 +02:00
2023-04-14 17:22:59 +02:00
2024-08-12 09:43:32 +02:00
2024-06-10 01:21:06 -04:00
2024-05-16 11:38:56 -04:00
2024-07-26 00:30:45 -04:00
2024-05-16 11:38:56 -04:00

How to use

Install

npm install @zitadel/react

or

yarn add @zitadel/react

Import styles file

To get the styles, import them in _app.tsx or global styling file

import "@zitadel/react/styles.css";

Setup Dark mode

to set dark theme, wrap your components in a ui-dark class.

Use components

import { SignInWithGoogle } from "@zitadel/react";

export default function IdentityProviders() {
  return (
    <div className="py-4">
      <SignInWithGoogle />
    </div>
  );
}