Sign In Button
Sign in with Apple or Google: the providers' own buttons, drawn to their brand rules, as tall as the screen's other buttons.
import { SignInButton } from "@plexui/react-native"
import { AppleLogo, GoogleLogo } from "@plexui/react-native/icons"Examples
Overview
Looks
Over a video
Logos
The logos are icons of @plexui/react-native/icons, made with createIcon, for anywhere else they stand: AppleLogo, Apple's mark in the icon's color, and GoogleLogo, the four-color G, which keeps its colors whatever color says. MicrosoftLogo is there too. The Tabler brand icons are other drawings: a monochrome G breaks Google's rules.
Platforms
| iOS 26 | Android | |
|---|---|---|
| Apple | ASAuthorizationAppleIDButton: black, white over dark or media, a capsule | Not offered (an iOS app's button) |
| The light, dark or neutral button, a capsule, 16 · 12 · 16 | The same looks, a pill, 12 · 10 · 12 |
API
| Prop | Type | Default | Description |
|---|---|---|---|
provider | "apple" | "google" | — | Whose sign-in (required) |
action | "continue" | "sign-in" | "sign-up" | "continue" | The title: Continue with, Sign in with or Sign up with the provider |
scheme | "light" | "dark" | — | The brand look against the screen; the theme's scheme by default. Apple: black in light, white in dark. Google: its light or dark button |
overMedia | boolean | false | Over a photo or video: Apple's white button |
neutral | boolean | false | Google's neutral button: #F2F2F2 with no outline |
size | "3xs" | … | "3xl" | "xl" | Height step of the Button scale, to match the screen's other buttons |
block | boolean | true | Takes the whole width |
disabled | boolean | false | Keeps the brand's colors at 40% and takes no presses |
accessibilityLabel | string | — | Defaults to the title |
onPress | (event) => void | — | Called on a press (all of Pressable's props pass through) |
style | StyleProp<ViewStyle> | — | Style of the button |