Genesis
@beta

AppleSignInButton

Apple's branded button, full width. Renders nothing off iOS.

packages/ui-native/src/layouts/apple-sign-in.tsx

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

AppleSignInButton

Apple's branded button, full width. Renders nothing off iOS.

PropTypeDefaultDescription
apple*AppleButtonModuleLike—`expo-apple-authentication`.
onPress*() => void | Promise<void>—Usually `() => signInWithApple(supabase, AppleAuthentication, { digest })` from `@marktiderman/genesis-supabase/native`.
appearanceenumauto`"auto"` (default): black in light mode, white in dark, as Apple recommends.
cornerRadiusnumber10Default 10, to sit with Genesis buttons.
disabledboolean—Dims the button and ignores presses. It is also ignored on its own while an `onPress` promise is pending, so a second tap can't open a second sheet.
heightnumber44Default 44, the recommended touch target (Apple's HIG minimum for this button is 30pt).
testIDstringapple-sign-in
typeenumcontinueApple's wording: "Sign in with Apple", "Continue with Apple" (default) or "Sign up with Apple".

appleProvider

A `SocialAuthProvider` (id `"apple"`) that draws Apple's button, for `AuthScreen`'s `providers`. `null` off iOS or without the module.

PropTypeDefaultDescription
apple*AppleButtonModuleLike | null | undefined—`expo-apple-authentication`, or `undefined` where it isn't installed.
onPress*() => void | Promise<void>—Usually `() => signInWithApple(supabase, AppleAuthentication, { digest })` from `@marktiderman/genesis-supabase/native`.
appearanceenum—`"auto"` (default): black in light mode, white in dark, as Apple recommends.
cornerRadiusnumber—Default 10, to sit with Genesis buttons.
disabledboolean—Dims the button and ignores presses. It is also ignored on its own while an `onPress` promise is pending, so a second tap can't open a second sheet.
heightnumber—Default 44, the recommended touch target (Apple's HIG minimum for this button is 30pt).
labelstring—The provider's `label`, used only by `AuthScreen`'s dev warning and a custom `social` slot. Apple's button draws and announces its own localized text. Default follows `type`: "Continue with Apple", "Sign in with Apple" or "Sign up with Apple".
typeenum—Apple's wording: "Sign in with Apple", "Continue with Apple" (default) or "Sign up with Apple".