React native UI example/template. Change password form

React Native example/template, Change password form! . 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!

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

const ChangePassword = () => {

  const [currentPassword, setCurrentPassword] = useState();
  const [newPassword, setNewPassword] = useState();
  const [repeatPassword, setRepeatPassword] = useState();

  const handleSubmit = () => {


  return (
    <View style={styles.container}>
      <View style={styles.avatarContainer}>
          source={{uri: ''}}
      <View style={styles.form}>
        <Text style={styles.label}>Current password</Text>
          placeholder="Enter your current password"
        <Text style={styles.label}>New password</Text>
          placeholder="Enter a new password"
        <Text style={styles.label}>Repeat new password</Text>
          placeholder="Repeat your new password"
        <TouchableOpacity style={styles.button} onPress={() => handleSubmit()}>
          <Text style={styles.buttonText}>Change password</Text>


const styles = StyleSheet.create({
  container: {
    flex: 1,
    alignItems: 'center',
    justifyContent: 'center',
  form: {
    width: '80%',
  label: {
    marginTop: 20,
  input: {
    borderColor: '#ccc',
    borderWidth: 1,
    borderRadius: 5,
    padding: 10,
    fontSize: 18,
  button: {
    marginTop: 20,
    backgroundColor: '#1E90FF',
    borderRadius: 5,
    paddingVertical: 10,
    paddingHorizontal: 20,
  buttonText: {
    color: '#fff',
    fontSize: 18,
  avatarContainer: {
    marginTop: 10,
    alignItems: 'center',

    shadowColor: '#000',
    shadowOffset: { width: 0, height: 2 },
    shadowOpacity: 0.8,
    shadowRadius: 2,
    elevation: 1,
  avatar: {
    width: 100,
    height: 100,
    borderRadius: 50,

export default ChangePassword;


Similar snippets

React native template. Login with background ui example

Login with background ui example

About this react-native template

This react-native template, Change password form, was published on Jan 31st, 16:21 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 431 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.