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
@marktiderman/genesis-ui-nativeimport { AuthScreen } from "@marktiderman/genesis-ui-native";react-docgen-typescript.AuthScreen
| Prop | Type | Default | Description |
|---|---|---|---|
| form* | AuthFormProps | — | The email form. |
| branding | AuthBrandingProps | — | Logo, headline and subhead above everything else. |
| footer | ReactNode | — | 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. |
| slotProps | SlotPropsFor<AuthScreenSlotMap> | {} | More props for a default part, merged over what the screen passes. |
| slots | Slots<AuthScreenSlotMap> | {} | Replace (a component) or drop (`null`) one part. |
| testID | string | auth-screen | testID on the root container. Default `"auth-screen"`. |