React native UI example/template. User list

React Native example/template, User list! . 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 { StyleSheet, Text, View, Alert, Image, FlatList, TouchableOpacity } from 'react-native'

const data = [
  { id: 1, image: '' },
  { id: 2, image: '' },
  { id: 3, image: '' },
  { id: 4, image: '' },
  { id: 5, image: '' },

export default UserListView = () => {
  const [users, setUsers] = useState(data)

  const showAlert = () => {
    Alert.alert('Alert', 'Item selected ')

  return (
      keyExtractor={item =>}
      renderItem={({ item }) => {
        return (
            <TouchableOpacity onPress={showAlert}>
              <View style={}>
                  source={{ uri: '' }}
                <Image style={styles.image} source={{ uri: item.image }} />
                <View style={styles.boxContent}>
                  <Text style={styles.title}>Title</Text>
                  <Text style={styles.description}>
                    Lorem ipsum dolor sit amet, elit consectetur

const styles = StyleSheet.create({
  image: {
    width: 100,
    height: 100,
  icon: {
    width: 20,
    height: 20,
    alignSelf: 'center',
    marginRight: 10,
  box: {
    padding: 20,
    marginTop: 5,
    marginBottom: 5,
    backgroundColor: 'white',
    flexDirection: 'row',
  boxContent: {
    flex: 1,
    flexDirection: 'column',
    alignItems: 'flex-start',
    marginLeft: 10,
  description: {
    fontSize: 15,
    color: '#646464',
  title: {
    fontSize: 18,
    color: '#151515',


Similar snippets

React native template. WhatsApp call list ui example

WhatsApp call list ui example

About this react-native template

This react-native template, User list, 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 5.4K 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.