Genesis
@beta

AuthScreen

AuthScreen — a whole sign-in screen: branding, social providers, the email form with a "Forgot password?" link, and a footer (terms, a sign-up link). It assembles the auth primitives (`AuthBranding`, `SocialAuthRow`, `AuthForm`, `ForgotPasswordLink`) so an app passes props instead of composing them. The form stays above the keyboard on small phones: with the app's `KeyboardScrollProvider` (react-native-keyboard-controller), else with `KeyboardAvoidingView`. With the provider's `toolbar` (`KeyboardToolbar`), a previous / next / done bar rides above the keyboard. In development, on iOS, it warns when a third-party provider is offered without Sign in with Apple (App Store Review Guideline 4.8 rejects that). `appleProvider()` adds Apple's own button in one line. Slots: replace or drop (`null`) `branding`, `social`, `form` or `footer`; `slotProps` feeds a default part. Composing the primitives yourself is still the escape hatch.

packages/ui-native/src/layouts/auth-screen.tsx

Import
Subpath export: @marktiderman/genesis-ui-native
import { AuthScreen } from "@marktiderman/genesis-ui-native";
Components
Auto-generated from TypeScript source via react-docgen-typescript.

AuthScreen

PropTypeDefaultDescription
form*AuthFormProps—The email form.
brandingAuthBrandingProps—Logo, headline and subhead above everything else.
footerReactNode—Below the form: terms, a sign-up link.
onForgotPassword(() => void)—Adds a "Forgot password?" link below the fields (password mode only).
providers(false | SocialAuthProvider | null)[]—Sign-in providers (Apple, Google…). None: no social row. A `null` or `false` entry is skipped, so a platform-only provider such as `appleProvider(...)` (null off iOS) goes in the list as is.
slotPropsSlotPropsFor<AuthScreenSlotMap>{}More props for a default part, merged over what the screen passes.
slotsSlots<AuthScreenSlotMap>{}Replace (a component) or drop (`null`) one part.
testIDstringauth-screentestID on the root container. Default `"auth-screen"`.