Component Library
Pre-built React components for authentication, organizations, security, and more. All components are fully customizable and TypeScript-ready.
AuthCore ships 14 React components and helpers; the sections below spotlight the primary UI surfaces with dedicated walkthroughs.
AuthForm
AuthenticationUnified login/register form with password strength, optional tenant field, and social placeholders.
TwoFactorSetup
SecurityGuided TOTP enrollment wizard with QR code, backup codes, and verification step.
AccountRestore
AuthenticationSelf-service restore flow for soft-deleted accounts and password resets.
CreateOrganization
OrganizationsOnboarding wizard with slug validation, logo uploader, and invite preview.
OrganizationSwitcher
OrganizationsTenant picker with search, badges, and quick links into organization dashboards.
UserProfile
AccountAccount overview with profile details, billing, devices, and activity tabs.
ProfileDropdown
AccountHeader-ready user button with avatar fallback, quick actions, and sign out.
SecuritySettings
SecurityAdministrative controls for lockout, bot protection, enumeration, and policies.
EmailListManager
SecurityAllow and block list manager with domain wildcards and inline moderation.
PricingTable
BillingPlan comparison grid with feature highlights and plan selection handlers.
CheckoutPage
BillingResponsive checkout with promo codes, localized copy, and branded payment toggles.
WaitlistForm
MarketingEmail capture form with custom fields, validation, and success callbacks.
Waitlist Guide
MarketingReference endpoints and workflows for managing a product waitlist.
BillingPlaybooks
BillingReference implementations for checkout API endpoints, webhooks, and Stripe hand-off.
Getting Started with Components
Installation
npm install codalware-auth
Basic Usage
import { AuthForm } from 'codalware-auth'
export default function LoginPage() {
return <AuthForm mode="login" tenantId="your-tenant-id" />
}
Styling
All components accept className
props and can be styled with Tailwind CSS or custom CSS. See individual component pages for specific styling options.
Customization
Styling
Use className props, Tailwind CSS, or custom CSS to match your brand
Logic
Override default behavior with callbacks and event handlers
Composition
Combine components to build complex flows
TypeScript
Full type definitions included for IDE autocomplete