Native only

Face ID

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

Face IDNative only

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
@halftone-native/button, @halftone-native/lib-haptics, @halftone-native/lib-native-context, @halftone-native/lib-utils, @halftone-native/spinner, @halftone-native/spot, @halftone-native/text
Also searched as
face id, touch id, fingerprint, lock, unlock, biometrics

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