React js UI example. friends panel list

React js UI example and template, friends panel list! . Take a look at this UI example and see how it can enhance your project. Your 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!
Tags: panel,list,friends

1. First, we need fresh reactjs setup, and for that, we need to run below commands into out terminal, and also we should have latest node version installed on our system:

npx create-react-app my-awesome-project

cd my-awesome-project

npm start

2. Now we need to run below commands into our project terminal to get bootstrap and related modules into our reactjs application:

npm install [email protected] --save

npm start //For start project again

3. Finally for the main output, we need to add below code into our my-awesome-project/src/App.js file or if you have fresh setup then you can replace my-awesome-project/src/App.js file code with below code:

import React from 'react';
import './App.css';
import 'bootstrap/dist/css/bootstrap.min.css';


function App() {
  
	return (
		<div>
			<link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css" rel="stylesheet"/>
<div class="container">
<div class="col-md-6">
<div class="panel panel-default">
  <div class="panel-heading">
    <div class="media">
      <div class="pull-left">
        <img src="https://bootdey.com/img/Content/avatar/avatar1.png" alt="people" class="media-object img-circle"/>
      </div>
      <div class="media-body">
        <h4 class="media-heading margin-v-5"><a href="#/">Adrian D.</a></h4>
        <div class="profile-icons">
          <span><i class="fa fa-users"></i> 372</span>
          <span><i class="fa fa-photo"></i> 43</span>
          <span><i class="fa fa-video-camera"></i> 3</span>
        </div>
      </div>
    </div>
  </div>
  <div class="panel-body">
    <p class="common-friends">Common Friends</p>
    <div class="user-friend-list">
      <a href="#/">
        <img src="https://bootdey.com/img/Content/avatar/avatar1.png" alt="people" class="img-circle"/>
      </a>
      <a href="#/">
        <img src="https://bootdey.com/img/Content/avatar/avatar2.png" alt="people" class="img-circle"/>
      </a>
      <a href="#/">
        <img src="https://bootdey.com/img/Content/avatar/avatar3.png" alt="people" class="img-circle"/>
      </a>
      <a href="#/">
        <img src="https://bootdey.com/img/Content/avatar/avatar4.png" alt="people" class="img-circle"/>
      </a>
    </div>
  </div>
  <div class="panel-footer">
    <a href="#/" class="btn btn-default btn-sm">Follow <i class="fa fa-share"></i></a>
  </div>
</div>
</div>
<div class="col-md-6">
<div class="panel panel-default">
  <div class="panel-heading">
    <div class="media">
      <div class="pull-left">
        <img src="https://bootdey.com/img/Content/avatar/avatar5.png" alt="people" class="media-object img-circle"/>
      </div>
      <div class="media-body">
        <h4 class="media-heading margin-v-5"><a href="#/">Adrian D.</a></h4>
        <div class="profile-icons">
          <span><i class="fa fa-users"></i> 372</span>
          <span><i class="fa fa-photo"></i> 43</span>
          <span><i class="fa fa-video-camera"></i> 3</span>
        </div>
      </div>
    </div>
  </div>
  <div class="panel-body">
    <p class="common-friends">Common Friends</p>
    <div class="user-friend-list">
      <a href="#/">
        <img src="https://bootdey.com/img/Content/avatar/avatar6.png" alt="people" class="img-circle"/>
      </a>
      <a href="#/">
        <img src="https://bootdey.com/img/Content/avatar/avatar5.png" alt="people" class="img-circle"/>
      </a>
      <a href="#/">
        <img src="https://bootdey.com/img/Content/avatar/avatar3.png" alt="people" class="img-circle"/>
      </a>
      <a href="#/">
        <img src="https://bootdey.com/img/Content/avatar/avatar2.png" alt="people" class="img-circle"/>
      </a>
    </div>
  </div>
  <div class="panel-footer">
    <a href="#/" class="btn btn-default btn-sm">Follow <i class="fa fa-share"></i></a>
  </div>
</div>
</div>
<div class="col-md-6">
<div class="panel panel-default">
  <div class="panel-heading">
    <div class="media">
      <div class="pull-left">
        <img src="https://bootdey.com/img/Content/avatar/avatar6.png" alt="people" class="media-object img-circle"/>
      </div>
      <div class="media-body">
        <h4 class="media-heading margin-v-5"><a href="#/">Adrian D.</a></h4>
        <div class="profile-icons">
          <span><i class="fa fa-users"></i> 372</span>
          <span><i class="fa fa-photo"></i> 43</span>
          <span><i class="fa fa-video-camera"></i> 3</span>
        </div>
      </div>
    </div>
  </div>
  <div class="panel-body">
    <p class="common-friends">Common Friends</p>
    <div class="user-friend-list">
      <a href="#/">
        <img src="https://bootdey.com/img/Content/avatar/avatar2.png" alt="people" class="img-circle"/>
      </a>
      <a href="#/">
        <img src="https://bootdey.com/img/Content/avatar/avatar3.png" alt="people" class="img-circle"/>
      </a>
      <a href="#/">
        <img src="https://bootdey.com/img/Content/avatar/avatar4.png" alt="people" class="img-circle"/>
      </a>
      <a href="#/">
        <img src="https://bootdey.com/img/Content/avatar/avatar1.png" alt="people" class="img-circle"/>
      </a>
    </div>
  </div>
  <div class="panel-footer">
    <a href="#/" class="btn btn-default btn-sm">Follow <i class="fa fa-share"></i></a>
  </div>
</div>
</div>
<div class="col-md-6">
<div class="panel panel-default">
  <div class="panel-heading">
    <div class="media">
      <div class="pull-left">
        <img src="https://bootdey.com/img/Content/avatar/avatar3.png" alt="people" class="media-object img-circle"/>
      </div>
      <div class="media-body">
        <h4 class="media-heading margin-v-5"><a href="#/">Adrian D.</a></h4>
        <div class="profile-icons">
          <span><i class="fa fa-users"></i> 372</span>
          <span><i class="fa fa-photo"></i> 43</span>
          <span><i class="fa fa-video-camera"></i> 3</span>
        </div>
      </div>
    </div>
  </div>
  <div class="panel-body">
    <p class="common-friends">Common Friends</p>
    <div class="user-friend-list">
      <a href="#/">
        <img src="https://bootdey.com/img/Content/avatar/avatar6.png" alt="people" class="img-circle"/>
      </a>
      <a href="#/">
        <img src="https://bootdey.com/img/Content/avatar/avatar7.png" alt="people" class="img-circle"/>
      </a>
      <a href="#/">
        <img src="https://bootdey.com/img/Content/avatar/avatar1.png" alt="people" class="img-circle"/>
      </a>
      <a href="#/">
        <img src="https://bootdey.com/img/Content/avatar/avatar3.png" alt="people" class="img-circle"/>
      </a>
    </div>
  </div>
  <div class="panel-footer">
    <a href="#/" class="btn btn-default btn-sm">Follow <i class="fa fa-share"></i></a>
  </div>
</div>
</div>
</div>
		</div>
	);
}
export default App;

4. Now we need to add below code into our my-awesome-project/src/App.css file :

body{margin-top:20px;
background:#eee;
}

.panel-default > .panel-heading {
    color: #333333;
    background-color: #ffffff;
    border-color: #e2e9e6;
}

.panel-footer {
    padding: 10px 15px;
    background-color: #ffffff;
    border-top: 1px solid #e2e9e6;
    border-bottom-right-radius: -1;
    border-bottom-left-radius: -1;
}

.user-friend-list img, .media img {
height:50px;
width:50px;
}

Similar snippets

React js template and ui example bs4 new friends panel

bs4 new friends panel

React js template and ui example bs4 beta email inbox

bs4 beta email inbox

React js template and ui example Social network feed list

Social network feed list

React js template and ui example blog content page

blog content page

React js template and ui example bs5 dark footer

bs5 dark footer

React js template and ui example file manager with folders recent files and members

file manager with folders recent files and members

React js template and ui example Invoice

Invoice

React js template and ui example profile with activity log

profile with activity log