React js UI example. Latest From Blog

React js UI example and template, Latest From Blog! . 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: blog

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 rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/pe-icon-7-stroke/dist/pe-icon-7-stroke.min.css"/>
<div class="container">
    <div class="row">
        <div class="col-md-6 text-center full-content">
            <h2 class="section-title no-border v-3"><span>Latest</span> From Blog</h2>
            <p class="sub-section-title v-2">Etiam congue rhoncus gravida. Sed vel sodales tortor. Donec eget dictum enim. Donec tempus euismod metus ac maximus, aenean mattis.</p>
            <div class="mrb-45"></div>
            
        </div>
        
    </div>
    

    <div class="row">
        <div class="col-12">
            <div class="row">
                <div class="col-md-6 col-xl-4">
                    <article class="post">
                        <div class="article-v2">
                            <figure class="article-thumb">
                                <a href="#/">
                                    <img src="https://www.bootdey.com/image/350x280/FFB6C1/000000" alt="blog image" />
                                </a>
                            </figure>
                            
                            <div class="article-content-main">
                                <div class="article-header">
                                    <h2 class="entry-title"><a href="#/">The day you become better.</a></h2>
                                    <div class="entry-meta">
                                        <div class="entry-date">July 25,2017</div>
                                        
                                        <div class="entry-cat">
                                            <a href="#/">Halie Rose</a>
                                        </div>
                                        
                                    </div>
                                    
                                </div>
                                
                                <div class="article-content">
                                    <p>Maecenas tempus, tellus eget anyti condimentum rhoncus, sem quam.</p>
                                </div>
                                
                                <div class="article-footer">
                                    <div class="row">
                                        <div class="col-6 text-left footer-link">
                                            <a href="#/" class="more-link">Read More</a>
                                        </div>
                                        
                                        <div class="col-6 text-right footer-meta">
                                            <a href="#/">65 <i class="pe-7s-comment"></i></a>
                                            <a href="#/">50 <i class="pe-7s-share"></i></a>
                                        </div>
                                        
                                    </div>
                                    
                                </div>
                                
                            </div>
                            
                        </div>
                        
                    </article>
                    
                </div>
                

                <div class="col-md-6 col-xl-4">
                    <article class="post">
                        <div class="article-v2">
                            <figure class="article-thumb">
                                <a href="#/">
                                    <img src="https://www.bootdey.com/image/350x280/87CEFA/000000" alt="blog image" />
                                </a>
                            </figure>
                            
                            <div class="article-content-main">
                                <div class="article-header">
                                    <h2 class="entry-title"><a href="#/">The day you become better.</a></h2>
                                    <div class="entry-meta">
                                        <div class="entry-date">July 25,2017</div>
                                        
                                        <div class="entry-cat">
                                            <a href="#/">Halie Rose</a>
                                        </div>
                                        
                                    </div>
                                    
                                </div>
                                
                                <div class="article-content">
                                    <p>Maecenas tempus, tellus eget anyti condimentum rhoncus, sem quam.</p>
                                </div>
                                
                                <div class="article-footer">
                                    <div class="row">
                                        <div class="col-6 text-left footer-link">
                                            <a href="#/" class="more-link">Read More</a>
                                        </div>
                                        
                                        <div class="col-6 text-right footer-meta">
                                            <a href="#/">65 <i class="pe-7s-comment"></i></a>
                                            <a href="#/">50 <i class="pe-7s-share"></i></a>
                                        </div>
                                        
                                    </div>
                                    
                                </div>
                                
                            </div>
                            
                        </div>
                        
                    </article>
                    
                </div>
                

                <div class="col-md-6 col-xl-4">
                    <article class="post">
                        <div class="article-v2">
                            <figure class="article-thumb">
                                <a href="#/">
                                    <img src="https://www.bootdey.com/image/350x280/20B2AA/000000" alt="blog image" />
                                </a>
                            </figure>
                            
                            <div class="article-content-main">
                                <div class="article-header">
                                    <h2 class="entry-title"><a href="#/">The day you become better.</a></h2>
                                    <div class="entry-meta">
                                        <div class="entry-date">July 25,2017</div>
                                        
                                        <div class="entry-cat">
                                            <a href="#/">Halie Rose</a>
                                        </div>
                                        
                                    </div>
                                    
                                </div>
                                
                                <div class="article-content">
                                    <p>Maecenas tempus, tellus eget anyti condimentum rhoncus, sem quam.</p>
                                </div>
                                
                                <div class="article-footer">
                                    <div class="row">
                                        <div class="col-6 text-left footer-link">
                                            <a href="#/" class="more-link">Read More</a>
                                        </div>
                                        
                                        <div class="col-6 text-right footer-meta">
                                            <a href="#/">65 <i class="pe-7s-comment"></i></a>
                                            <a href="#/">50 <i class="pe-7s-share"></i></a>
                                        </div>
                                        
                                    </div>
                                    
                                </div>
                                
                            </div>
                            
                        </div>
                        
                    </article>
                    
                </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;}
.post .article-v2 {
  padding: 0 15px;
}

.post .article-v2 .entry-title {
  font-size: 16px;
  color: #666666;
  font-weight: 600;
}

.post .article-v2 .article-header {
  margin-bottom: 15px;
}

.post .article-v2 .article-content-main {
  -webkit-box-shadow: 1px 0px 20px 1px rgba(0, 0, 0, 0.15);
          box-shadow: 1px 0px 20px 1px rgba(0, 0, 0, 0.15);
  padding: 30px;
  position: relative;
  background: #fff;
  margin-top: -75px;
}

@media only screen and (max-width: 1024px) {
  .post .article-v2 .article-content-main {
    padding: 15px;
    margin-bottom: 30px;
  }
}

.post .article-v2 .article-content p:last-of-type {
  margin-bottom: 0;
}

.post .article-v2 .article-thumb {
  position: relative;
  left: 25px;
  margin-bottom: 0;
}

.post .article-v2 .article-footer {
  border-top: 1px solid #ebebeb;
  padding-top: 15px;
  margin-top: 20px;
}

.post .article-v2 .article-footer .more-link {
  color: #ffa800;
}

.post .article-v2 .article-footer .footer-meta a {
  color: #aaa;
  font-size: 15px;
  margin-right: 5px;
}

.post .article-v2 .article-footer .footer-meta a i {
  font-size: 16px;
  margin-left: 2px;
}

Similar snippets

React js template and ui example bs4 Latest News

bs4 Latest News

React js template and ui example blog list page

blog list page

React js template and ui example blog page

blog page

React js template and ui example bs4 image box

bs4 image box

React js template and ui example chat app

chat app

React js template and ui example invoice order receipt

invoice order receipt

React js template and ui example bs5 dark footer

bs5 dark footer

React js template and ui example unify buttons

unify buttons