React native UI example/template. Login screen with header and input inside a card

React Native example/template, Login screen with header and input inside a card! . Take a look at this UI example and see how it can enhance your project. You can copy or download the code and use it in your project. Don't forget to browse our library of other free React Native templates for even more design and functionality inspiration. Happy coding!

React native template. Login screen with header and input inside a card

Login screen with header and input inside a card

import React from 'react';
import {
  StyleSheet,
  Text,
  View,
  ImageBackground,
  TextInput,
  TouchableOpacity,
} from 'react-native';

const LoginScreen = () => {
  return (
    <View style={styles.container}>
      <ImageBackground
        source={{uri:'https://www.bootdey.com/image/580x580/20B2AA/20B2AA'}}
        style={styles.header}>
        <Text style={styles.heading}>My Awesome App</Text>
      </ImageBackground>
      <View style={styles.card}>
        <TextInput style={styles.input} placeholder="Email" />
        <TextInput style={styles.input} placeholder="Password" secureTextEntry={true} />

        <TouchableOpacity style={styles.forgotPasswordButton}>
          <Text style={styles.forgotPasswordButtonText}>Forgot?</Text>
        </TouchableOpacity>

        <TouchableOpacity style={styles.button}>
          <Text style={styles.buttonText}>Login</Text>
        </TouchableOpacity>

        <TouchableOpacity style={styles.createAccountButton}>
          <Text style={styles.createAccountButtonText}>Create Account</Text>
        </TouchableOpacity>
      </View>
    </View>
  );
};

const styles = StyleSheet.create({
  container: {
    backgroundColor: '#fff',
    alignItems: 'center',
    justifyContent: 'center',
  },
  header: {
    alignIte
//LOGIN TO SEE THE REST OF THE CODE==: '======',
    ==============: '======',
    ==========: ==,
    =============: ==,
    =====: '===%',
    ======: ===,
  },
  =======: {
    ========: ==,
    ==========: '====',
    =====: '#===',
    ============: ==,
  },
  ====================: {
    =====:'===%',
    =========:'====-===',
  },
  ========================: {
    =====: '#======',
    ========: ==,
    ==========: '====',
    =========:'====='
  },
  ====: {
    ===============: '#===',
    ============: ==,
    ===========: '#===',
    ============: {
      =====: =,
      ======: =,
    },
    =============: =.=,
    ============: =,
    =========: =,
    =======: ==,
    =========: ==,
    =====: '==%',
    ==========: '======',
  },
  =====: {
    ===========: =,
    ===========: '#===',
    ============: =,
    =======: ==,
    ==============: ==,
    =====: '===%',
  },
  ======: {
    ===============: '#======',
    ============: =,
    =======: ==,
    =========: ==,
    =====: '===%',
    ==========: '======',
  },
  ==========: {
    =====: '#===',
    ==========: '====',
  },
  ===================: {
    =========: ==,
  },
  =======================: {
    =====: '#======',
    ========: ==,
    ==========: '====',
  },
});

====== ======= ===========;

                                            

Similar snippets

React native template. Sign up screen with background and logo

Sign up screen with background and logo

About this react-native template

This react-native template, Login screen with header and input inside a card, was published on Feb 15th 2023, 10:56 by Bootdey Admin and it is free.

We hope you will enjoy this awesome react-native template and stay tuned for the latest updates, we believe it will save your precious time and gives trendy look to your next application.

This template currectly have 2.9K views, Using this react-native template you have the following benefits:

Example Screens

You can jump start your development with our pre-built example, all you need to do is copy the code and execute it, You can also show it to your customers so that they have an idea of the final result.

Cross-platform for mobile development

This template was developed for Android and iOS.

Simple Integration

This template can be simply integrated on existing projects and new ones too, all you need to do is copy the code and start working.

Fully coded view

this is a functional example, You will save a lot of time going from prototyping to full-functional code.