React native UI example/template. simple profile list ui example

React Native example/template, simple profile list ui example! . 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. simple profile list ui example

simple profile list ui example

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

export default Users = () => {
  const optionList = [
    {
      id: 1,
      color: '#FF4500',
      icon: 'https://bootdey.com/img/Content/avatar/avatar1.png',
      name: 'User 1',
      tags: ['tag 1', 'tag 2', 'tag 3', 'Mobile dev', 'RN', 'Bootdey'],
    },
    {
      id: 2,
      color: '#87CEEB',
      icon: 'https://bootdey.com/img/Content/avatar/avatar2.png',
      name: 'User 2',
      tags: ['tag 1', 'tag 2', 'tag 3', 'Dey-Dey', 'Developer'],
    },
    {
      id: 3,
      color: '#4682B4',
      icon: 'https://bootdey.com/img/Content/avatar/avatar3.png',
      name: 'User 3',
      tags: ['tag 1', 'tag 2', 'tag 3'],
    },
    {
      id: 4,
      color: '#6A5ACD',
      icon: 'https://bootdey.com/img/Content/avatar/avatar4.png',
      name: 'User 4',
      tags: ['tag 1', 'tag 2', 'tag 3'],
    },
    {
      id: 5,
      color: '#FF69B4',
      icon: 'https://bootdey.com/img/Content/avatar/avatar5.png',
      name: 'User 5',
      tags: ['tag 1', 'tag 2', 'tag 3'],
    },
    {
      id: 6,
      color: '#00BFFF',
      icon: 'https://bootdey.com/img/Content/avatar/avatar6.png',
      name: 'User 6',
      tags: ['tag 1', 'tag 2', 'tag 3'],
    },
    {
      id: 7,
      color: '#00FFFF',
      icon: 'https://bootdey.com/img/Content/avatar/avatar1.png',
      name: 'User 7',
      tags: ['tag 1', 'tag 2', 'tag 3'],
    },
    {
      id: 8,
      color: '#20B2AA',
      icon: 'https://bootdey.com/img/Content/avatar/avatar2.png',
      name: 'User 8',
      tags: ['tag 1', 'tag 2', 'tag 3'],
    },
    {
      id: 9,
      color: '#191970',
      icon: 'https://bootdey.com/img/Content/avatar/avatar3.png',
      name: 'User 9',
      tags: ['tag 1', 'tag 2', 'tag 3'],
    },
  ]

  const [options, setOptions] = useState(optionList)
  const [query, setQuery] = useState()

  const cardClickEventListener = item => {
    Alert.alert(item.name)
  }

  const tagClickEventListener = tagName => {
    Alert.alert(tagName)
  }

  const renderTags = item => {
    return item.tags.map((tag, key) => {
      return (
        <TouchableOpacity
          key={key}
          style={styles.btnColor}
          onPress={() => tagClickEventListener(tag)}>
          <Text>{tag}</Text>
        </TouchableOpacity>
      )
    })
  }

  return (
    <View style={styles.container}>
      <View style={styles.formContent}>
        <View style={styles.inputContainer}>
          <Image
 
//LOGIN TO SEE THE REST OF THE CODE           ======{[======.====, ======.=========]}
            ======={{ ===: '=====://===.======.===/=====/==/======/======.===' }}
          />
          <=========
            ======{======.======}
            ============"======..."
            ======================"==========="
            ============={= => ========(=)}
          />
        </====>
      </====>

      <========
        ======{======.================}
        ====={=======}
        ============={==== => {
          ====== ====.==
        }}
        ==========={({ ==== }) => {
          ====== (
            <================
              ======{[======.====, { ===========: ====.===== }]}
              ========{() => {
                ======================(====)
              }}>
              <==== ======{======.===========}>
                <===== ======{[======.=====, ======.============]} ======={{ ===: ====.==== }} />
                <==== ======{======.====}>{====.====}</====>
              </====>
              <==== ======{[======.===========, ======.===========]}>{==========(====)}</====>
            </================>
          )
        }}
      />
    </====>
  )
}

===== ====== = ==========.======({
  =========: {
    ====: =,
    ===============: '#======',
  },
  ===========: {
    =============: '===',
    =========: ==,
  },
  ==============: {
    =================: '#======',
    ===============: '#======',
    ============: ==,
    =================: =,
    ======: ==,
    =============: '===',
    ==========: '======',
    ====: =,
    ======: ==,
  },
  ====: {
    =====: ==,
    ======: ==,
  },
  =============: {
    =========: '======',
  },
  ======: {
    ======: ==,
    ==========: ==,
    =================: '#======',
    ====: =,
  },
  =========: {
    ==========: ==,
    ==============: '======',
  },
  ================: {
    =========: ==,
    =======: ==,
  },
  ====: {
    ======: ====,
    ==========: ==,
    =============: ==,
    =========: =,
    ===============: '#======',
    =============: '======',
    ==============: ==,
    ============: ==,
  },
  ===========: {
    =============: '===',
    ==========: ==,
  },
  ============: {
    =========: -==,
  },
  ===========: {
    =========: ==,
    ========: '====',
  },
  =====: {
    =====: ==,
    ======: ==,
    ============: ==,
  },
  ====: {
    ========: ==,
    ==========: '====',
    ==========: ==,
    =========: '======',
  },
  ========: {
    =======: ==,
    ============: ==,
    ================: =,
    ===============: '#===',
    =========: =,
  },
})

                                            

Similar snippets

About this react-native template

This react-native template, simple profile list ui example, was published on Nov 29th 2017, 18:03 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 10.7K 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.