Skip to content

Authentication (Mobile)

Mobile-optimized authentication forms with native keyboard handling, biometric support, and touch-friendly inputs.

Installation

bash
npx @galaxy-stack/nebula-cli add authentication

Platform

Mobile version for React Native and Flutter. For web, see Authentication (Web).

Features

  • Native Keyboard - Automatic keyboard management
  • Biometric Auth - Touch ID / Face ID support
  • Form Validation - Real-time validation
  • Touch-Optimized - Large input fields
  • Platform-Specific - iOS/Android styling

Usage

React Native

tsx
import { AuthForm } from '@/components/ui/authentication'

export default function LoginScreen() {
  const handleLogin = async (data) => {
    // Your auth logic
  }

  return (
    <AuthForm
      mode="login"
      onSubmit={handleLogin}
    />
  )
}

Platform Availability

PlatformStatus
React Native✅ Available
Flutter✅ Available

Released under the MIT License.