Native only

Face ID

Available forNative

Face ID gate, or the hook for a single action · real only in a dev build

The native kit's real component, live in its web build at phone width. Follows this site's theme.

Usage

Hides its children until Face ID succeeds. Use the hook instead when you are confirming a single action. Real only in a dev build — Expo Go and the web simulate it.

API

<BiometricGate title? subtitle? prompt? locked? onUnlock? simulate?>…</BiometricGate> · useBiometricAuth()

Get it

Already in every copy of the native kit:

import { BiometricGate, useBiometricAuth } from '@/components/kit/biometric-gate';

Details

Exports
BiometricGate, useBiometricAuth
Packages
expo-local-authentication@~57.0.3, lucide-react-native@^1.21.0
Installs with
@kit-native/button, @kit-native/lib-haptics, @kit-native/lib-native-context, @kit-native/lib-utils, @kit-native/spinner, @kit-native/spot, @kit-native/text
Also searched as
face id, touch id, fingerprint, lock, unlock, biometrics

Agents: the whole registry is at /llms.txt.