Rhea Key SDK

Brand

The official button

Show the Rhea mark and the word Key in red. Do not restyle the mark. Do not replace Key with another word.

Themes: dark, light, and red. On dark and light, Key is #f30e0d. On the red theme, the word Key is white.

HTML
<script src="https://rheakey.com/sdk/rhea.js" async></script>
<rhea-button app-name="My App"></rhea-button>

Attributes: app-name (shown to the person), theme (dark, light or red), challenge-url and verify-url (default /rhea-challenge and /rhea-verify).

React, once @rheakey/sdk is on npm

React
// Available once @rheakey/sdk is on npm. Until then, use the hosted script.
import { RheaSignInButton } from "@rheakey/sdk/react";

export function SignIn() {
  return <RheaSignInButton clientId={import.meta.env.VITE_RHEA_CLIENT_ID} />;
}

Pass unstyled on RheaSignInButton only when the site must use its own presentation.