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 26Android
AppleASAuthorizationAppleIDButton: black, white over dark or media, a capsuleNot offered (an iOS app's button)
GoogleThe light, dark or neutral button, a capsule, 16 · 12 · 16The same looks, a pill, 12 · 10 · 12

API

PropTypeDefaultDescription
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
overMediabooleanfalseOver a photo or video: Apple's white button
neutralbooleanfalseGoogle's neutral button: #F2F2F2 with no outline
size"3xs" | … | "3xl""xl"Height step of the Button scale, to match the screen's other buttons
blockbooleantrueTakes the whole width
disabledbooleanfalseKeeps the brand's colors at 40% and takes no presses
accessibilityLabelstring—Defaults to the title
onPress(event) => void—Called on a press (all of Pressable's props pass through)
styleStyleProp<ViewStyle>—Style of the button