React native UI example/template. Social network feed list with status bar

React Native example/template, Social network feed list with status bar! . 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. Social network feed list with status bar

Social network feed list with status bar

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

const FeedScreen = () => {

  const [statusUsers, setStatusUsers] = useState([
    { id: 1, name: 'User 1 large name', avatarUrl: 'https://bootdey.com/img/Content/avatar/avatar1.png' },
    { id: 2, name: 'User 2', avatarUrl: 'https://bootdey.com/img/Content/avatar/avatar2.png' },
    { id: 3, name: 'User lx name here', avatarUrl: 'https://bootdey.com/img/Content/avatar/avatar3.png' },
    { id: 4, name: 'User 2', avatarUrl: 'https://bootdey.com/img/Content/avatar/avatar4.png' },
    { id: 5, name: 'User 2', avatarUrl: 'https://bootdey.com/img/Content/avatar/avatar5.png' },
    { id: 6, name: 'User 2', avatarUrl: 'https://bootdey.com/img/Content/avatar/avatar6.png' },
    { id: 7, name: 'User 2', avatarUrl: 'https://bootdey.com/img/Content/avatar/avatar7.png' },
    { id: 8, name: 'User 2', avatarUrl: 'https://bootdey.com/img/Content/avatar/avatar8.png' },
    { id: 9, name: 'User 2', avatarUrl: 'https://bootdey.com/img/Content/avatar/avatar1.png' },
    { id: 10, name: 'User 2', avatarUrl: 'https://bootdey.com/img/Content/avatar/avatar2.png' },
  ])

  const [posts, setPosts] = useState([
    {
      id: 1,
      userId: 1,
      username: 'User 1',
      avatarUrl: 'https://bootdey.com/img/Content/avatar/avatar2.png',
      date: 'May 18, 2023',
      description: 'This is a post description',
      imageUrl: 'https://www.bootdey.com/image/580x520/FF00FF/000000',
    },
    {
      id: 2,
      userId: 2,
      username: 'User 2',
      avatarUrl: 'https://bootdey.com/img/Content/avatar/avatar6.png',
      date: 'May 17, 2023',
      description: 'Another post',
      imageUrl: null,
    },

    {
      id: 3,
      userId: 1,
      username: 'User 1',
      avatarUrl: 'https://bootdey.com/img/Content/avatar/avatar3.png',
      date: 'May 18, 2023',
      description: 'This is a post description',
      imageUrl: 'https://www.bootdey.com/image/580x520/32CD32/000000',
    },
  ])

  const UserListItem = ({ user }) => (
    <View style={styles.userItem}>
      <Image source={{ uri: user.avatarUrl }} style={styles.avatar} />
      <Text style={styles.statusUserName} ellipsizeMode='tail' numberOfLines={1}>{user.name}</Text>
    </View>
  );
  
  const PostCard = ({ post }) => (
    <View style={styles.postCard}>
      <View style={styles.postHeader}>
        <Image source={{ uri: post.avatarUrl }} style={styles.postAvatar} />
        <Text style={styles.postUsername}>{post.username}</Text>
        <Text st
//LOGIN TO SEE THE REST OF THE CODE===={======.========}>{====.====}</====>
      </====>
      <==== ======{======.===============}>{====.===========}</====>
      {====.======== && (
        <===== ======={{ ===: ====.======== }} ======{======.=========} />
      )}
      <==== ======{======.==========}>
        <================ ======{======.==========}>
          <==== ======{======.==============}>====</====>
        </================>
        <================ ======{======.==========}>
          <==== ======{======.==============}>=======</====>
        </================>
        <================>
          <==== ======{======.==============}>=====</====>
        </================>
      </====>
    </====>
  );
  
  ====== (
    <==== ======{======.=========}>
      <========== ==========>
        <==== ======{======.=============}>
          {===========.===(==== => <============ ===={====.==} ====={====} />)}
        </====>
      </==========>

      <========
        ====={=====}
        ======================{======.=================}
        ============={==== => ====.==.========()}
        ==========={({ ==== }) => <======== ====={====} />}

      />
    </====>
  )
};

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

    ===========: '#===',
    =============: =.=,
    ============: { =====: =, ======: = },
    ============: =,
  },
  ==============:{
    =========:=,
    ========:==,
    =====:'#======',
    =====:==,
    =========:'======'
  },
  ======: {
    =====: ==,
    ======: ==,
    ============: ==,
  },
  =================:{
    ==========:==,
    =================:==,
  },
  ========: {
    ============: ==,
    =======: ==,
    ===============: '#===',
    ============:=,
  },
  ==========: {
    =============: '===',
    ==========: '======',
    ============: =,
  },
  ==========: {
    =====: ==,
    ======: ==,
    ============: ==,
    ===========: ==,
  },
  ============: {
    ====: =,
  },
  ========: {
    ========: ==,
    =====:'#======',
  },
  ===============:{
    ========:==,
    =====:'#======'
  },
  =========: {
    =========: ==,
    =====: '===%',
    ======: ===,
  },
  ==========: {
    =============: '===',
    =========: ==,
  },
  ==========: {
    ===========: ==,
  },
  ==============:{
    =====:'#======'
  }
});

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

                                            

Similar snippets

React native template. Home feed posts list social network

Home feed posts list social network

About this react-native template

This react-native template, Social network feed list with status bar, was published on Jun 12th 2023, 13:27 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 3.1K 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.