React js UI example. profile text

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

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 bootstrap snippets bootdeys">
    <div class="row">
        <div class="col-sm-12 col-md-6">
            <div class="col-inside-lg decor-info b-profile text-c" data-height-col="" style={{/*height: 440px;*/}}>
                <img src="https://bootdey.com/img/Content/avatar/avatar1.png" alt="image" class="b-profile-avatar"/>
                <div class="b-profile-name">
                    Alexander Van Gok
                </div>
                <div class="b-profile-profession">
                    Web Designer
                </div>
                <div class="b-profile-about">
                    <p>Lorem ipsum dolor sit amet, consecteter adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet.</p>
                </div>
                <ul class="b-profile-share">
                    <li><a class="f" href="#/">f</a></li>
                    <li><a class="t" href="#/">t</a></li>
                    <li><a class="l" href="#/">l</a></li>
                    <li><a class="x" href="#/">x</a></li>
                </ul>
                <span class="btn-follow-this m-b-md">FOLLOW THIS</span>
            </div>
        </div>
        
        <div class="col-sm-12 col-md-6">
            <div class="col-inside-lg decor-success b-profile text-c" data-height-col="" style={{/*height: 440px;*/}}>
                <img src="https://bootdey.com/img/Content/avatar/avatar2.png" alt="image" class="b-profile-avatar"/>
                <div class="b-profile-name">
                    Alexander Van Gok
                </div>
                <div class="b-profile-profession">
                    Web Designer
                </div>
                <div class="b-profile-about">
                    <p>Lorem ipsum dolor sit amet, consecteter adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet.</p>
                </div>
                <ul class="b-profile-share">
                    <li><a class="f" href="#/">f</a></li>
                    <li><a class="t" href="#/">t</a></li>
                    <li><a class="l" href="#/">l</a></li>
                    <li><a class="x" href="#/">x</a></li>
                </ul>
                <span class="btn-follow-this m-b-md">FOLLOW THIS</span>
            </div>
        </div>
        
        <div class="col-sm-12 col-md-6">
            <div class="col-inside-lg decor-warning b-profile text-c" data-height-col="" style={{/*height: 440px;*/}}>
                <img src="https://bootdey.com/img/Content/avatar/avatar3.png" alt="image" class="b-profile-avatar"/>
                <div class="b-profile-name">
                    Alexander Van Gok
                </div>
                <div class="b-profile-profession">
                    Web Designer
                </div>
                <div class="b-profile-about">
                    <p>Lorem ipsum dolor sit amet, consecteter adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet.</p>
                </div>
                <ul class="b-profile-share">
                    <li><a class="f" href="#/">f</a></li>
                    <li><a class="t" href="#/">t</a></li>
                    <li><a class="l" href="#/">l</a></li>
                    <li><a class="x" href="#/">x</a></li>
                </ul>
                <span class="btn-follow-this m-b-md">FOLLOW THIS</span>
            </div>
        </div>
        
        <div class="col-sm-12 col-md-6">
            <div class="col-inside-lg decor-default b-profile text-c" data-height-col="" style={{/*height: 440px;*/}}>
                <img src="https://bootdey.com/img/Content/avatar/avatar4.png" alt="image" class="b-profile-avatar"/>
                <div class="b-profile-name">
                    Alexander Van Gok
                </div>
                <div class="b-profile-profession">
                    Web Designer
                </div>
                <div class="b-profile-about">
                    <p>Lorem ipsum dolor sit amet, consecteter adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet.</p>
                </div>
                <ul class="b-profile-share">
                    <li><a class="f" href="#/">f</a></li>
                    <li><a class="t" href="#/">t</a></li>
                    <li><a class="l" href="#/">l</a></li>
                    <li><a class="x" href="#/">x</a></li>
                </ul>
                <span class="btn-follow-this m-b-md">FOLLOW THIS</span>
            </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;}
 .col-inside-lg {
    padding: 20px;
}
.b-profile {
    padding-bottom: 20px;
    color: #ffffff;
    margin-bottom:20px;
}
.b-profile-name {
    font-size: 20px;
    line-height: 24px;
    text-align: center;
}
.b-profile-avatar {
    display: block;
    width: 64px;
    height: 64px;
    margin: 20px auto;
    border-radius: 50%;
}
.b-profile-profession {
    font-size: 16px;
    line-height: 18px;
    text-align: center;
    margin: 6px 0 12px;
}
.b-profile-share {
    display: block;
    text-align: center;
    padding: 12px 0 24px;
    margin: 0;
}
ol, ul {
    list-style: none;
}
.b-profile-share li {
    display: inline-block;
    margin: 0 8px;
    overflow: hidden;
}
.b-profile-share li a, .b-profile-share li a:hover {
    font-size: 24px;
    color: #fff;
}
.b-profile .btn-follow-this {
    font-size: 16px;
    line-height: 34px;
    border: 1px solid #ffffff;
    color: #ffffff;
    padding: 0 40px;
    text-transform: uppercase;
    display: inline-block;
    cursor: pointer;
}
.m-b-md {
    margin-bottom: 20px;
}
.text-c {
    text-align: center;
}
.decor-success {
    background-color: #46be8a;
}
.decor-warning {
    background: #f2a654;
}
.decor-default {
    background: #7266ba;
}
.decor-info {
    background: #39bee8;
}

Similar snippets

React js template and ui example Profile Activities Followers Following

Profile Activities Followers Following

React js template and ui example user profile cover like facebook

user profile cover like facebook

React js template and ui example profile photos

profile photos

React js template and ui example media profile

media profile

React js template and ui example bs5 dark footer

bs5 dark footer

React js template and ui example chat app

chat app

React js template and ui example bs4 Horizontal timeline

bs4 Horizontal timeline

React js template and ui example invoice order receipt

invoice order receipt