0.2.1 • Published 5 months ago

@raddiamond/nexauth-core-ui v0.2.1

Weekly downloads
-
License
MIT
Repository
-
Last release
5 months ago

NexAuth Core UI

React UI components for NexAuth authentication flows.

Installation

npm install @raddiamond/nexauth-core-ui

Usage

import { AuthUI } from '@raddiamond/nexauth-core-ui';

function App() {
  return (
    <AuthUI
      clientId="your-client-id"
      tenantId="your-tenant-id"
      apiUrl="https://your-backend.com/api"
      logo="/path/to/logo.png"
      theme="light"
      showRegister={true}
    />
  );
}

See the full documentation in UI_COMPONENTS.md for more details.