Skip to content
nexubDesign System
v12.7.0

Patterns · Auth

AuthCard

Since v0.0.1

Authentication layout pattern. Wraps sign-in, sign-up, and reset flows in a centered card.

import { AuthCard } from '@nexub/patterns';
View as Markdown

Examples

Sign in

Sign in

Welcome back — enter your credentials to continue.

Props

Props
PropTypeDefaultDescription
titlerequiredstring—Card heading (e.g. "Sign in to Nexub").
descriptionReact.ReactNode—Subheading text. 11.5: any content, e.g. the address in bold; was a string.
logoReact.ReactNode—Logo or brand mark above the title.
footerReact.ReactNode—Footer content (e.g. "Don't have an account?").
childrenrequiredReact.ReactNode—Form content.
logoAlign'start' | 'center''center'11.5: where the logo sits.
classNamestring—