React js UI example. Daily feed

React js UI example and template, Daily feed! . 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: feed

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>
			<div class="container">
<div class="row bootstrap snippets bootdey">
    <div class="col-md-7 col-xs-12 col-md-offset-3">
      <div class="panel" id="daily-feed">
        <div class="panel-heading">
          <h3 class="panel-title">Daily feed
            <span class="pull-right label label-round label-warning">10 Messages</span>
          </h3>
        </div>
        <div class="panel-body">
          <ul class="list-group list-group-dividered list-group-full">
            <li class="list-group-item">
              <div class="media">
                <div class="media-left">
                  <a class="avatar avatar-online" href="javascript:void(0)">
                    <img src="https://bootdey.com/img/Content/avatar/avatar1.png" alt=""/><i></i></a>
                </div>
                <div class="media-body">
                  <h4 class="media-heading">
                    <small class="pull-right">5m ago</small>
                    <a class="name">Edward Fletcher</a> posted a new blog.
                  </h4>
                  <small>Today 5:50 pm - 12.04.2015</small>
                </div>
              </div>
            </li>
            <li class="list-group-item">
              <div class="media">
                <div class="media-left">
                  <a class="avatar avatar-off" href="javascript:void(0)">
                    <img src="https://bootdey.com/img/Content/avatar/avatar1.png" alt=""/><i></i></a>
                </div>
                <div class="media-body">
                  <h4 class="media-heading">
                    <small class="pull-right">2h ago</small>
                    <a class="name">Justin Martin</a> posted message on
                    <a class="name">Crystal Bates</a> site.
                  </h4>
                  <small>Today 2:55 pm - 12.04.2015</small>
                  <div class="actions margin-top-10">
                    <button type="button" class="btn btn-danger btn-xs waves-effect waves-light"><i class="icon md-thumb-up" aria-hidden="true"></i>Like</button>
                    <button type="button" class="btn btn-danger btn-xs waves-effect waves-light"><i class="icon md-favorite" aria-hidden="true"></i>Love</button>
                  </div>
                </div>
              </div>
            </li>
            <li class="list-group-item">
              <div class="media">
                <div class="media-left">
                  <a class="avatar avatar-away" href="javascript:void(0)">
                    <img src="https://bootdey.com/img/Content/avatar/avatar1.png" alt=""/><i></i></a>
                </div>
                <div class="media-body">
                  <h4 class="media-heading">
                    <small class="pull-right">6h ago</small>
                    <a class="name">Terrance Arnold</a> posted message on
                    <a class="name">Nathan Watts</a> site.
                  </h4>
                  <small>Today 12:00 am - 12.04.2015</small>
                  <div class="content well">
                    Aspernatur ad aspernari sapienter constringendos conspiratione locatus. Ii maiores
                    aequo tollit, profecta iucundo pueros assentior velit circumcisaque
                    error fastidium nostros. Utuntur deserunt solvantur.
                  </div>
                </div>
              </div>
            </li>
            <li class="list-group-item">
              <div class="media">
                <div class="media-left">
                  <a class="avatar avatar-busy" href="javascript:void(0)">
                    <img src="https://bootdey.com/img/Content/avatar/avatar1.png" alt=""/><i></i></a>
                </div>
                <div class="media-body">
                  <h4 class="media-heading">
                    <small class="pull-right">20h ago</small>
                    <a class="name">Heather Harper</a> started following
                    <a class="name">Terrance Arnold</a>.
                  </h4>
                  <small>Yesterday 9:00 pm - 11.04.2015</small>
                </div>
              </div>
            </li>
          </ul>
          <button type="button" class="btn btn-block btn-primary waves-effect waves-light"><i class="icon md-chevron-down margin-right-5" aria-hidden="true"></i>Show
            More</button>
        </div>
      </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;
    font-size: 14px;
}

.avatar {
    position: relative;
    display: inline-block;
    width: 40px;
    white-space: nowrap;
    border-radius: 1000px;
    vertical-align: bottom
}

.avatar i {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 10px;
    height: 10px;
    border: 2px solid #fff;
    border-radius: 100%
}

.avatar img {
    width: 100%;
    max-width: 100%;
    height: auto;
    border: 0 none;
    border-radius: 1000px
}

.avatar-online i {
    background-color: #4caf50
}

.avatar-off i {
    background-color: #616161
}

.avatar-busy i {
    background-color: #ff9800
}

.avatar-away i {
    background-color: #f44336
}

.avatar-100 {
    width: 100px
}

.avatar-100 i {
    height: 20px;
    width: 20px
}

.avatar-lg {
    width: 50px
}

.avatar-lg i {
    height: 12px;
    width: 12px
}

.avatar-sm {
    width: 30px
}

.avatar-sm i {
    height: 8px;
    width: 8px
}

.avatar-xs {
    width: 20px
}

.avatar-xs i {
    height: 7px;
    width: 7px
}

.list-group-item {
    position: relative;
    display: block;
    padding: 10px 15px;
    margin-bottom: -1px;
    background-color: #fff;
    border: 1px solid transparent;
}
#daily-feed .name {
    font-weight: 500;
    color: #616161;
    cursor: pointer;
    text-decoration: none;
}

Similar snippets

React js template and ui example Social network clean feed list

Social network clean feed list

React js template and ui example User Profile with tabs

User Profile with tabs

React js template and ui example Social network feed list

Social network feed list

React js template and ui example bs5 dark footer

bs5 dark footer

React js template and ui example profile edit data and skills

profile edit data and skills

React js template and ui example Invoice

Invoice

React js template and ui example WhatsUp Messenger

WhatsUp Messenger